summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/stop
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hook-scripts/stop')
-rwxr-xr-xextras/hook-scripts/stop/pre/S29CTDB-teardown.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh b/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
index 0b6e50ead..bfbd356b8 100755
--- a/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
+++ b/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
@@ -60,7 +60,7 @@ function remove_ctdb_options () {
function remove_fstab_entry () {
volname=$1
mntpt=$2
- mntent="`hostname`:/$volname $mntpt glusterfs defaults,transport=tcp 0 0"
+ mntent="`hostname`:/$volname $mntpt glusterfs _netdev,defaults,transport=tcp 0 0"
esc_mntent=$(echo -e "$mntent" | sed 's/\//\\\//g')
exists=`grep "^$mntent" /etc/fstab`
if [ "$exists" != " " ]