From: Evan Broder Date: Wed, 22 Oct 2008 04:48:45 +0000 (-0400) Subject: Implement the newly chosen error code on the host for the case of an X-Git-Tag: sipb-xen-remctl-auto/1.5^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/commitdiff_plain/refs/tags/sipb-xen-remctl-auto/1.5 Implement the newly chosen error code on the host for the case of an invalid remctl command svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1164 --- diff --git a/debian/changelog b/debian/changelog index 5ef72a3..e98f615 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +sipb-xen-remctl-auto (1.5) unstable; urgency=low + + * Distinguish between Xen errors and invalid commands by returning a + completely outlandish error code that's not likely to conflict with + anything + + -- Evan Broder Wed, 22 Oct 2008 00:47:50 -0400 + sipb-xen-remctl-auto (1.4) unstable; urgency=low * Correctly extract the CDROM image from the remctl arguments diff --git a/files/usr/sbin/sipb-xen-remote b/files/usr/sbin/sipb-xen-remote index 3ec0c95..a6d1c02 100755 --- a/files/usr/sbin/sipb-xen-remote +++ b/files/usr/sbin/sipb-xen-remote @@ -28,13 +28,13 @@ case "$TYPE" in ;; *) echo "ERROR: invalid subcommand" - exit 1 + exit 34 ;; esac ;; *) echo "ERROR: invalid command" - exit 1 + exit 34 ;; esac