Skip to content

Commit

Permalink
fix syntax error in if
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Oct 17, 2017
1 parent ab6da20 commit c82220d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fai-diskimage
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cleanup() {
done

# call zerofree for ext2/3/4 devices if available
if [ -f /var/run/fai/zerofree.$$ -a -x ]; then
if [ -f /var/run/fai/zerofree.$$ -a -x /usr/sbin/zerofree ]; then
. /var/run/fai/zerofree.$$ 2>/dev/null
rm /var/run/fai/zerofree.$$
fi
Expand Down

0 comments on commit c82220d

Please sign in to comment.