aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkefi-agl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkefi-agl.sh')
-rwxr-xr-xscripts/mkefi-agl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkefi-agl.sh b/scripts/mkefi-agl.sh
index 48a0af44d..c44ecedde 100755
--- a/scripts/mkefi-agl.sh
+++ b/scripts/mkefi-agl.sh
@@ -64,7 +64,7 @@ cleanup() {
if [ -d "$TMPDIR" ]; then
rm -rf "$TMPDIR" || error "Failed to remove $TMPDIR"
fi
- [ -f "$TMP_DIR/TMP-AGL-wic-image.wic" ] || rm -f $TMP_DIR/TMP-AGL-wic-image.wic
+ [ -f "$TMP_DIR/TMP-AGL-wic-image.wic" ] && rm -f $TMP_DIR/TMP-AGL-wic-image.wic
}
trap 'die "Signal Received, Aborting..."' HUP INT TERM