silently run qemu
authorHarald Hoyer <harald@redhat.com>
Mon, 25 May 2009 12:11:24 +0000 (14:11 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 25 May 2009 12:11:24 +0000 (14:11 +0200)
test/run-qemu

index d7f512a..3a2a12c 100755 (executable)
@@ -11,6 +11,4 @@ $(lsmod | grep -q '^kqemu ') && BIN=/usr/bin/qemu && ARGS="-kernel-kqemu "
    echo "Please install kvm or qemu." >&2
    exit 1
 }
-
-echo "Running $BIN $ARGS" "$@"
-$BIN $ARGS "$@"
+exec sudo $BIN $ARGS "$@"