Only delete /etc/nologin if we can write to it
This commit is contained in:
parent
7962218dd8
commit
08b5664668
@ -150,7 +150,7 @@ start()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f /etc/nologin
|
[ -w /etc/nologin ] && rm -f /etc/nologin
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user