]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
fix error output for di-maker
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 30 Sep 2011 06:32:05 +0000 (02:32 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 30 Sep 2011 06:32:05 +0000 (02:32 -0400)
di-maker

index 7c979d0d14fc896d26ad2ab79b46413695b7575e..5e377d80be6f9c2200dd8749efc5034100985f5f 100755 (executable)
--- a/di-maker
+++ b/di-maker
@@ -16,10 +16,6 @@ set -e
 
 output="$1"
 
-# remaining arguments should be files to re-pack into the initrd
-shift
-
-
 SUITE=${SUITE:-stable}
 ARCH=${ARCH:-amd64}
 DISTRO=${DISTRO:-debian}
@@ -29,6 +25,9 @@ if [ -z "$output" ] ; then
     exit 1
 fi
 
+# remaining arguments should be files to re-pack into the initrd
+shift
+
 WORKDIR=$(mktemp -d)
 
 cleanup() {