mirror of
https://github.com/actuallymentor/battery.git
synced 2026-03-10 11:52:06 +00:00
Add missing visudo.tmp file removal
This commit is contained in:
@@ -450,6 +450,9 @@ if [[ "$action" == "visudo" ]]; then
|
||||
sudo chmod 440 $visudo_file
|
||||
fi
|
||||
|
||||
# Delete tempfile
|
||||
rm $visudo_tmpfile
|
||||
|
||||
# exit because no changes are needed
|
||||
exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user