Remove the '.sh' extension from the visudo call.

This commit is contained in:
Bowie
2025-10-05 14:45:50 +08:00
committed by GitHub
parent faa27adc48
commit 1e60c8b20d

View File

@@ -25,7 +25,7 @@ chmod 755 $binfolder/battery
chmod u+x $binfolder/battery
echo "[ 3 ] Updating visudo declarations"
sudo $binfolder/battery.sh visudo
sudo $binfolder/battery visudo
# Remove tempfiles
cd