autofs/autofs-5.0.5-fix-restart.patch
Ian Kent 73f8362b4a * Wed Aug 18 2010 Ian Kent <ikent@redhat.com> - 1:5.0.5-30.fc15
- fix restart not working (bz624694).
2010-08-18 13:17:18 +08:00

26 lines
543 B
Diff

autofs-5.0.5 - fix restart
From: Ian Kent <raven@themaw.net>
The recent LSB improvement change has introduced a problem with
the restart action.
---
redhat/autofs.init.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in
index 1e926ce..e2a4b78 100644
--- a/redhat/autofs.init.in
+++ b/redhat/autofs.init.in
@@ -126,7 +126,7 @@ function stop() {
}
function restart() {
- status > /dev/null 2>&1
+ status autofs > /dev/null 2>&1
if [ $? -eq 0 ]; then
stop
fi