Skip to content

Commit

Permalink
Update mosdns.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
caleee committed Jun 1, 2024
1 parent 7dcf61a commit 518f76f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions etc/mosdns/mosdns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ restart() {
fi
log "INFO" "systemctl restart mosdns" "Service restarted successfully"
fi


}

restore() {
Expand Down Expand Up @@ -163,8 +161,11 @@ else
restore)
restore
;;
restart)
restart
;;
*)
echo "Usage: $0 {check|backup|update|restore}"
echo "Usage: $0 {check|backup|update|restore|restart}"
exit 1
;;
esac
Expand Down

0 comments on commit 518f76f

Please sign in to comment.