diff options
Diffstat (limited to 'script.sh')
| -rwxr-xr-x | script.sh | 6 |
1 files changed, 1 insertions, 5 deletions
| @@ -6,9 +6,5 @@ while read name | |||
| 6 | do | 6 | do |
| 7 | mount -oloop,ro,noload "$name" "$MOUNT_PATH" | 7 | mount -oloop,ro,noload "$name" "$MOUNT_PATH" |
| 8 | python ./scanner.py -f "$MOUNT_PATH" -t 1 | 8 | python ./scanner.py -f "$MOUNT_PATH" -t 1 |
| 9 | umount "$MOUNT_PATH" | 9 | umount "$MOUNT_PATH" || exit 1 |
| 10 | if [ $? -neq 0 ] | ||
| 11 | then | ||
| 12 | exit 1 | ||
| 13 | fi | ||
| 14 | done | 10 | done |
