summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-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 e8caa91..496f046 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"
}