summaryrefslogtreecommitdiffstats
path: root/runcthon
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-05-28 03:53:04 -0400
committerSteve Dickson <steved@redhat.com>2010-05-28 03:53:04 -0400
commitc4e8b86ab7222c4ef1ff06e77bf2d5aae16d7c19 (patch)
tree79f57952815da234a4ae3797bb75b87f4c3e8474 /runcthon
parent1ed047180fbd37ed66c9e9a2b9cea6f503567c16 (diff)
downloadcthon04-c4e8b86ab7222c4ef1ff06e77bf2d5aae16d7c19.tar.gz
cthon04-c4e8b86ab7222c4ef1ff06e77bf2d5aae16d7c19.tar.xz
cthon04-c4e8b86ab7222c4ef1ff06e77bf2d5aae16d7c19.zip
Changed umounts to be done with the sudo command
Diffstat (limited to 'runcthon')
-rwxr-xr-xruncthon3
1 files changed, 2 insertions, 1 deletions
diff --git a/runcthon b/runcthon
index f95e346..8397395 100755
--- a/runcthon
+++ b/runcthon
@@ -66,7 +66,8 @@ umountall()
for mnts in `cat /proc/mounts | grep nfs | awk '{print $2}'`
do
[ "/mnt/nfsv$vers$proto" = "$mnts" ] && {
- ./domount -u /mnt/nfsv$vers$proto
+ echo "sudo umount /mnt/nfsv$vers$proto"
+ sudo umount /mnt/nfsv$vers$proto
}
done
done