diff options
author | hagbard <vyosdev@derith.de> | 2019-10-08 13:38:15 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-10-08 13:38:15 -0700 |
commit | 4b3434f8fab3201e7483bff95af71b7a1f51a13c (patch) | |
tree | ed06efe2b5586eaea1fa641020161c11e5a4919a /scripts/install | |
parent | 9cd2fb4d8d65f60746c4bd0fbf5021b1217f627a (diff) | |
download | vyatta-cfg-system-4b3434f8fab3201e7483bff95af71b7a1f51a13c.tar.gz vyatta-cfg-system-4b3434f8fab3201e7483bff95af71b7a1f51a13c.zip |
install-image: T1718 - ISO check in /opt/vyatta/sbin/install-image faulty
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-image | 2 |
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 |