mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Battery: remove unneeded home variable
This commit is contained in:
@@ -22,10 +22,8 @@ echo
|
||||
|
||||
if [ -n "$PKEXEC_UID" ]; then
|
||||
ACTUAL_USER=$(getent passwd "$PKEXEC_UID" | cut -d: -f1)
|
||||
ACTUAL_HOME=$(getent passwd "$PKEXEC_UID" | cut -d: -f6)
|
||||
else
|
||||
ACTUAL_USER="$SUDO_USER"
|
||||
ACTUAL_HOME="$HOME"
|
||||
fi
|
||||
|
||||
if [ -z "$ACTUAL_USER" ]; then
|
||||
|
||||
Reference in New Issue
Block a user