Browse Source

dracut.sh: quote $outfile on error removal

master
Harald Hoyer 9 years ago
parent
commit
2cc5e92e21
  1. 3
      dracut.sh

3
dracut.sh

@ -1690,9 +1690,10 @@ if ! ( @@ -1690,9 +1690,10 @@ if ! (
| $compress >> "$outfile"
); then
dfatal "dracut: creation of $outfile failed"
rm -f $outfile
rm -f "$outfile"
exit 1
fi

dinfo "*** Creating initrd image file '$outfile' done ***"

if (( maxloglvl >= 5 )); then

Loading…
Cancel
Save