linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] start-statd: Use bash as -p is no POSIX
@ 2011-08-06  9:59 Luk Claes
  2011-08-06 12:38 ` Jim Rees
  2011-08-29 16:05 ` Steve Dickson
  0 siblings, 2 replies; 4+ messages in thread
From: Luk Claes @ 2011-08-06  9:59 UTC (permalink / raw)
  To: Steve Dickson, linux-nfs; +Cc: Luk Claes

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>
---
 utils/statd/start-statd |    4 ++--
 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
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-29 16:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-06  9:59 [PATCH] start-statd: Use bash as -p is no POSIX Luk Claes
2011-08-06 12:38 ` Jim Rees
2011-08-06 13:11   ` Luk Claes
2011-08-29 16:05 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).