unify output, drop completed TODO item
This commit is contained in:
@ -170,13 +170,13 @@ is_valid_iso9660() {
|
||||
ISOfile="$1"
|
||||
if [ ! -f ${ISOfile} ]; then
|
||||
failure=1
|
||||
printf "=== FAIL Not found: ${ISOfile}\n"
|
||||
printf "${prog}: FAIL: Not found: ${ISOfile}\n"
|
||||
fi
|
||||
if file ${ISOfile} | grep -P "ISO\s+9660\s+CD-ROM\s+filesystem\s+data" >/dev/null 2>&1; then
|
||||
printf "=== ${ISOfile} OK\n"
|
||||
else
|
||||
failure=1
|
||||
printf "=== FAIL: ${ISOfile} does not look like ISO 9660 filesystem data\n"
|
||||
printf "${prog}: FAIL: ${ISOfile} does not look like ISO 9660 filesystem data\n"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user