just format

This commit is contained in:
nikk gitanes
2023-01-29 02:18:52 +03:00
parent e86ca1dc76
commit 91c7adef14

View File

@@ -23,6 +23,7 @@ function cleanup() {
sudo rm -f /Library/LaunchAgents/*torrserver* 1>/dev/null 2>&1
sudo rm -f /Library/LaunchDaemons/*torrserver* 1>/dev/null 2>&1
sudo rm -f $HOME/Library/LaunchAgents/*torrserver* 1>/dev/null 2>&1
sudo rm -f $HOME/Library/LaunchDaemons/*torrserver* 1>/dev/null 2>&1
runningPid=$(ps -ax|grep -i torr|awk '{print $1}'|head -n1)
sudo kill -9 $runningPid 1>/dev/null 2>&1
}