summaryrefslogtreecommitdiffstats
path: root/bin/g-i-installation.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-18 11:23:38 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-18 11:23:38 +0200
commit4593c0e06d75f40d85bce32e1607ed1e9b59e2fc (patch)
tree8994c3e4695a76de05f87ef1125f6746966fbb8c /bin/g-i-installation.sh
parentdd00dce077b66148634383986dc8ed72ac79239f (diff)
downloadjenkins.debian.net-4593c0e06d75f40d85bce32e1607ed1e9b59e2fc.tar.xz
g-i-installation: dont fail cleanup if QEMU_LAUNCHER wasnt defined yet
Diffstat (limited to 'bin/g-i-installation.sh')
-rwxr-xr-xbin/g-i-installation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 918bca70..0c0d63b0 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -90,7 +90,7 @@ cleanup_all() {
sudo kill -9 $(ps fax | grep [q]emu-system | grep "vnc=$DISPLAY " 2>/dev/null | awk '{print $1}') || true
sleep 0.3s
sudo lvremove -f $LV
- rm $QEMU_LAUNCHER
+ rm -f $QEMU_LAUNCHER
#
# cleanup image mount
#