kbd.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: ToBeReplaced <tobereplaced@gmail.com>
To: kbd@lists.altlinux.org
Subject: [kbd] Return code of openvt command
Date: Wed, 29 Jul 2015 21:09:42 -0600	[thread overview]
Message-ID: <1438225782.2870.2.camel@gmail.com> (raw)

On openvt from kbd 2.0.2, `openvt -c 1 -fw /bin/false` exits with
return code 0 instead of 1.

There's a bug report from 2003 and a claim that it was resolved as of
kbd 1.14.1: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=190386

I'm not sure if this is a bug or desired behavior. 

How can I get the return code of the command passed to openvt?


             reply	other threads:[~2015-07-30  3:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30  3:09 ToBeReplaced [this message]
2015-07-30 17:33 ` [kbd] [PATCH] openvt -w: Return exit status from child Felix Janda
2015-08-09  8:46   ` [kbd] [PATCHv2] " Felix Janda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438225782.2870.2.camel@gmail.com \
    --to=tobereplaced@gmail.com \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).