Received: from eggs.gnu.org ([2001:4830:134:3::10]:44780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC2Zd-00019G-5W for qemu-devel@nongnu.org; Tue, 29 Jul 2014 04:15:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC2ZX-0005Nr-2K for qemu-devel@nongnu.org; Tue, 29 Jul 2014 04:15:53 -0400 Received: from indium.canonical.com ([91.189.90.7]:57916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC2ZW-0005Nl-Sg for qemu-devel@nongnu.org; Tue, 29 Jul 2014 04:15:46 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1XC2ZW-0001QS-0L for ; Tue, 29 Jul 2014 08:15:46 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E8A242E80C3 for ; Tue, 29 Jul 2014 08:15:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 29 Jul 2014 08:07:44 -0000 From: Maria Kustova Sender: bounces@canonical.com References: <20140729080745.19685.60860.malonedeb@wampee.canonical.com> Message-Id: <20140729080745.19685.60860.malonedeb@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1349722] [NEW] qemu-io: Exit code is always zero Reply-To: Bug 1349722 <1349722@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: The qemu-io always returns zero on exit independently on errors occurred during the command execution. Example, $ qemu-io -c 'write 128 234' /tmp/run1/test-1/test.img offset 128 is not sector aligned $ echo $? 0 qemu.git HEAD: 41a1a9c42c4e ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1349722 Title: qemu-io: Exit code is always zero Status in QEMU: New Bug description: The qemu-io always returns zero on exit independently on errors occurred during the command execution. Example, $ qemu-io -c 'write 128 234' /tmp/run1/test-1/test.img offset 128 is not sector aligned $ echo $? 0 = qemu.git HEAD: 41a1a9c42c4e To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1349722/+subscriptions