Remove temp file if already existed. It could be created with different
owner, so unavailable for this process.
This commit is contained in:
Marek Marczykowski-Górecki 2013-11-27 03:22:24 +01:00
parent 3c99ac1d07
commit 8cee6e22f4

View File

@ -29,6 +29,7 @@ fi
ret=0
rm -f /var/run/qubes/qvm-create-default-dvm.stdout
if ! qvm-create-default-dvm --used-template --default-script >/var/run/qubes/qvm-create-default-dvm.stdout </dev/null ; then
ret=1
fi