summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/RHEL-CTDB/samba.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec
index 3d1a9f1704..acf38b19bf 100644
--- a/packaging/RHEL-CTDB/samba.spec
+++ b/packaging/RHEL-CTDB/samba.spec
@@ -343,9 +343,9 @@ fi
%preun
if [ $1 = 0 ] ; then
+ /sbin/service smb stop >/dev/null 2>&1
/sbin/chkconfig --del smb
# rm -rf /var/log/samba/* /var/lib/samba/*
- /sbin/service smb stop >/dev/null 2>&1
fi
exit 0