aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
}