summaryrefslogtreecommitdiff
path: root/scripts/install/install-image
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install/install-image')
-rwxr-xr-xscripts/install/install-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image b/scripts/install/install-image
index dbdd5901..ac4d2dec 100755
--- a/scripts/install/install-image
+++ b/scripts/install/install-image
@@ -150,7 +150,7 @@ set_up_new_iso ()
fi
fi
- if [ ! -f "$NEW_ISO" ] || ! (file $NEW_ISO | grep -q 9660); then
+ if [ ! -f "$NEW_ISO" ] || ! (grep -q ISO9660 $NEW_ISO); then
fail_exit "\"$NEW_ISO\" is not a valid ISO image file."
fi