aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-04-18 00:56:48 +0000
committerRoy Marples <roy@marples.name>2009-04-18 00:56:48 +0000
commit9225c6cefbc5c7f211bcc7ffefb63637d1fab29f (patch)
treef2aec7aece22fbf1f28b858af88896d8c01a4926 /init.d/bootmisc.in
parent1a2d81751d144889bfd5e1e38c13d2c3c5fad237 (diff)
Not all systems have the utmp group
Diffstat (limited to 'init.d/bootmisc.in')
-rw-r--r--init.d/bootmisc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index e8caa910..496f0464 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -64,7 +64,8 @@ cleanup_tmp_dir()
mkutmp()
{
: >"$1"
- chgrp utmp "$1"
+ # Not all systems have the utmp group
+ chgrp utmp "$1" 2>/dev/null
chmod 0664 "$1"
}