]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
start-statd: Use bash as -p is no POSIX
authorLuk Claes <luk@debian.org>
Mon, 29 Aug 2011 16:04:25 +0000 (12:04 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 29 Aug 2011 16:04:25 +0000 (12:04 -0400)
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>
utils/statd/start-statd

index c7805eeaf8d3c185d8755b03b155d0404ac1551b..1b345a5479326986a96bac58860efccf0c9024d5 100644 (file)
@@ -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