Not all systems have the utmp group
This commit is contained in:
parent
1a2d81751d
commit
9225c6cefb
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user