Battery: remove unneeded home variable

This commit is contained in:
Damian D'Souza
2025-10-10 14:21:52 +02:00
parent ddc5cb0d01
commit bab51f039a
@@ -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