aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/shr/initscripts-shr/mountall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/shr/initscripts-shr/mountall.sh')
-rw-r--r--recipes/shr/initscripts-shr/mountall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/shr/initscripts-shr/mountall.sh b/recipes/shr/initscripts-shr/mountall.sh
index 4bd7bbb02c..0bea871663 100644
--- a/recipes/shr/initscripts-shr/mountall.sh
+++ b/recipes/shr/initscripts-shr/mountall.sh
@@ -41,7 +41,7 @@ fi
if test -e /etc/passwd
then
- ROOT_HOME="`grep root /etc/passwd | cut -d: -f6`"
+ ROOT_HOME="`grep \"^root:\" /etc/passwd | cut -d: -f6`"
if test -n "$ROOT_HOME"
then