diff options
author | Simon Rettberg | 2015-09-29 18:37:20 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-29 18:37:20 +0200 |
commit | b45db96450c314d9842e160225b49190d509a1a8 (patch) | |
tree | bf4a76ad7aa42bbf1316d6466686e9dac930cdd7 /scripts | |
parent | Update dozmod-upgrade.sql (diff) | |
download | tmlite-bwlp-b45db96450c314d9842e160225b49190d509a1a8.tar.gz tmlite-bwlp-b45db96450c314d9842e160225b49190d509a1a8.tar.xz tmlite-bwlp-b45db96450c314d9842e160225b49190d509a1a8.zip |
[MountVmStore] Timeout quicker, return exit code in status
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mount-store | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mount-store b/scripts/mount-store index cb6b769..e0ce839 100755 --- a/scripts/mount-store +++ b/scripts/mount-store @@ -117,7 +117,7 @@ if grep -E -q '^[^/].+:.+' <<<$SOURCE; then # seems to be NFS for opt in vers=4 vers=3; do echo " * Trying ${opt}..." - mount -v -t nfs -o rw,noatime,noexec,nodev,async,nolock,$opt,fg,ac,retry=1,timeo=150,sec=sys "$SOURCE" "$DEST" + mount -v -t nfs -o rw,noatime,noexec,nodev,async,nolock,$opt,fg,ac,retry=0,timeo=200,sec=sys "$SOURCE" "$DEST" RET=$? [ "$RET" -ne "0" ] && continue echo "Mount succeeded, checking write permissions...." |