summaryrefslogtreecommitdiff
path: root/script.sh
diff options
context:
space:
mode:
authorJulien Voisin2015-03-04 10:28:47 +0100
committerJulien Voisin2015-03-04 10:28:47 +0100
commit848f3ddf03cfe310f25e538329e3e40925d0869f (patch)
tree917f79197f936ac87dc98f6f48fd1dd2f6ed2569 /script.sh
parentb861e21a9e3785f6f0a2839ee649c3ef502e21ba (diff)
Simplify a bit the mounting script
Diffstat (limited to 'script.sh')
-rwxr-xr-xscript.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/script.sh b/script.sh
index ccf5b0d..dad7f58 100755
--- a/script.sh
+++ b/script.sh
@@ -6,9 +6,5 @@ while read name
6do 6do
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
14done 10done