summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-05-23 12:48:55 +0200
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:02 +0200
commit0da2b0bf869562a65679180423299e4d5ee940d6 (patch)
treefd7f959373efccb6105c0569e6ea8d6ddcb94c0b
parentd12eb6e5f3ddda7c2dfa0115ebed0a70ae2beb4a (diff)
downloadsamba-0da2b0bf869562a65679180423299e4d5ee940d6.tar.gz
samba-0da2b0bf869562a65679180423299e4d5ee940d6.tar.bz2
samba-0da2b0bf869562a65679180423299e4d5ee940d6.zip
packaging(RHEL-CTDB): use condrestart instead of restart in %post script
Michael (This used to be commit 2ccd9ef741c88772e4b7409506258e85b252c74f)
-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 705810af4b..3d1a9f1704 100644
--- a/packaging/RHEL-CTDB/samba.spec
+++ b/packaging/RHEL-CTDB/samba.spec
@@ -338,7 +338,7 @@ if [ "$1" -eq "2" ]; then
fi
if [ "$1" -ge "1" ]; then
- %{initdir}/smb restart >/dev/null 2>&1
+ %{initdir}/smb condrestart >/dev/null 2>&1
fi
%preun