packaging(RHEL-CTDB): use condrestart instead of restart in %post script
authorMichael Adam <obnox@samba.org>
Fri, 23 May 2008 10:48:55 +0000 (12:48 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 23 May 2008 12:00:12 +0000 (14:00 +0200)
Michael

packaging/RHEL-CTDB/samba.spec

index 705810af4b5258bed9fef23344bebf2bc521dda4..3d1a9f1704e27fa3cb1b96cf454a7c9775b9893c 100644 (file)
@@ -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