From ab8fe311418a7887658ddd752a6dc69a8164bdb5 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Wed, 22 Oct 2008 00:51:53 -0400 Subject: [PATCH 1/1] Fix sipb-xen-vmcontrol to know about the new magic error code svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1167 --- debian/changelog | 6 ++++++ files/usr/sbin/sipb-xen-vmcontrol | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e98f615..c1a29f1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-remctl-auto (1.5.1) unstable; urgency=low + + * Return the new invalid-command error code in sipb-xen-vmcontrol + + -- Evan Broder Wed, 22 Oct 2008 00:51:34 -0400 + sipb-xen-remctl-auto (1.5) unstable; urgency=low * Distinguish between Xen errors and invalid commands by returning a diff --git a/files/usr/sbin/sipb-xen-vmcontrol b/files/usr/sbin/sipb-xen-vmcontrol index 081afd2..0c20109 100755 --- a/files/usr/sbin/sipb-xen-vmcontrol +++ b/files/usr/sbin/sipb-xen-vmcontrol @@ -42,6 +42,6 @@ case "$ACTION" in ;; *) echo "ERROR: Invalid Command" - exit 1 + exit 34 ;; esac -- 1.7.9.5