in invirt-remote-listvms, ignore another way VMs can disappear
[invirt/packages/invirt-remote.git] / host / usr / sbin / invirt-remote
index dcac451..8511f60 100755 (executable)
@@ -21,7 +21,7 @@ case "$TYPE" in
                 COMMAND=/usr/sbin/invirt-listvms
                ;;
            info)
                 COMMAND=/usr/sbin/invirt-listvms
                ;;
            info)
-               exec /usr/sbin/xm info
+               COMMAND=/usr/sbin/xm
                ;;
             vnccert)
                 COMMAND=/usr/bin/invirt-vnc-getcert
                ;;
             vnccert)
                 COMMAND=/usr/bin/invirt-vnc-getcert
@@ -38,4 +38,4 @@ case "$TYPE" in
         ;;
 esac
 
         ;;
 esac
 
-exec "$COMMAND" "$SERVICE" "$@"
+$COMMAND "$SERVICE" "$@"