summaryrefslogtreecommitdiffstats
path: root/utils/statd/start-statd
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2011-08-29 12:04:25 -0400
committerSteve Dickson <steved@redhat.com>2011-08-29 12:04:25 -0400
commit708f2d63ee2641f72d3a87ce65f12e83e5ad60be (patch)
tree62cadbe21be86a0e60407bf14a56a1db2a226b56 /utils/statd/start-statd
parent2850a26b17b37126f70283400c01f7ffa651b860 (diff)
downloadnfs-utils-708f2d63ee2641f72d3a87ce65f12e83e5ad60be.tar.gz
nfs-utils-708f2d63ee2641f72d3a87ce65f12e83e5ad60be.tar.xz
nfs-utils-708f2d63ee2641f72d3a87ce65f12e83e5ad60be.zip
start-statd: Use bash as -p is no POSIX
sh -p is not guaranteed to be provided by POSIX shells. dash for instance does not provide this, so use bash explicitly. Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/statd/start-statd')
-rw-r--r--utils/statd/start-statd4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/statd/start-statd b/utils/statd/start-statd
index c7805ee..1b345a5 100644
--- a/utils/statd/start-statd
+++ b/utils/statd/start-statd
@@ -1,8 +1,8 @@
-#!/bin/sh -p
+#!/bin/bash -p
# nfsmount calls this script when mounting a filesystem with locking
# enabled, but when statd does not seem to be running (based on
# /var/run/rpc.statd.pid).
-# It should run run statd with whatever flags are apropriate for this
+# It should run statd with whatever flags are apropriate for this
# site.
PATH=/sbin:/usr/sbin
exec rpc.statd --no-notify