🐛 fix bash assignment

This commit is contained in:
Mentor
2022-09-24 21:14:22 +02:00
parent 80533d5b3b
commit 6611268dfe
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ binfolder=/usr/local/bin
mkdir -p $tempfolder
# Set script value
calling_user=${1:="$USER"}
calling_user=${1:-"$USER"}
# Ask for sudo once, in most systems this will cache the permissions for a bit
sudo echo "🔋 Starting battery installation"