Skip to content

Commit

Permalink
Auto run in root
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-Karasu committed May 31, 2024
1 parent 2c4a6ef commit d2a3ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-cpufreq-installer
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function tool_remove {

# root check
if ((EUID != 0)); then
sudo "$0" "$@"
sudo "./`basename "$0"`" "$@"
exit "$?"
fi

Expand Down

0 comments on commit d2a3ba6

Please sign in to comment.