Add missing visudo.tmp file removal

This commit is contained in:
base47
2026-01-11 20:53:48 +01:00
parent 2bdc8ae953
commit b9f5a66194

View File

@@ -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