Commit 750aa629 authored by Łukasz Nowak's avatar Łukasz Nowak

Apply suggestion to software/kvm/template/kvm-import.sh.jinja2

parent 624a3d1d
......@@ -19,7 +19,7 @@ tmpfile=$(mktemp --tmpdir={{ directory['tmp'] }})
# use temporary space inside of the partition, as it can be quite big
tmpdir=$(mktemp -d --tmpdir={{ directory['tmp'] }})
# assure the temporary directory is cleaned up
trap "rm -fr $tmpdir $tmpfile" EXIT TERM INT
trap "rm -rf $tmpdir $tmpfile" EXIT TERM INT
cp -a $BACKUP_DIR/* $tmpdir
if [ -d $tmpdir/ide0-hd0 ] ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment