[feature] add dryrun option

This commit is contained in:
Klesh Wong 2020-11-02 21:46:53 +08:00
parent b3b3a0efba
commit 8f4a530917

View File

@ -120,9 +120,15 @@ restart() {
$FP loop &
}
if [ "$1" = "loop" ]; then
start
else
restart
fi
case "$1" in
loop)
start
;;
dryrun)
statusbar
;;
*)
restart
;;
esac