From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DNS_FROM_AHBL_RHSBL, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:message-id:subject:to:date:content-type:mime-version :content-transfer-encoding; bh=gd6DsYPP3m4Yjy44zrF45HPDG8bs+cZcwNR6mRp23NA=; b=1FbjdJXj00QlDxtIcCL707dqAfFxh1kebHwqYvvOrszNhLB6khrYHK0woX0u0NugPe PtuRcPYGciJqS71sxBz0f9gWbnQ84jaJSV6cUikbuxEdfdxXTNknfY3LWXRkyKW+Zb7X dzCkaPg7hbf6+Ubuy0LSa66rxRespy+n3XlI98ZwbrEMoeVzfNhEZZd7SANf8+L6nwzm mmbmo93n6zRSQUMm5v40YZqux//UO349qOwfNgwbpev7l2nzBrzyKZJFMkfUQe07kJsG 0SuBq+RnENOah1gKZaxprC5YnUlFtZq7fO4vuDj+kR1rlDLjYAVX/GeIoPNSnB+YXOZa AnNA== X-Received: by 10.50.124.1 with SMTP id me1mr1324492igb.83.1438225788574; Wed, 29 Jul 2015 20:09:48 -0700 (PDT) From: ToBeReplaced X-Google-Original-From: ToBeReplaced Message-ID: <1438225782.2870.2.camel@gmail.com> To: kbd@lists.altlinux.org Date: Wed, 29 Jul 2015 21:09:42 -0600 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.4 (3.16.4-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 30 Jul 2015 14:14:36 +0300 Subject: [kbd] Return code of openvt command X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 03:09:54 -0000 Archived-At: List-Archive: 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?