Skip to content

Commit

Permalink
backup: use statustip() (implemented in -common)
Browse files Browse the repository at this point in the history
  • Loading branch information
friendly-bits committed Feb 17, 2024
1 parent 7c9ad2c commit 12bc6c8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions geoip-shell-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,11 @@ set +f
case "$action" in
create-backup)
create_backup
printf '\n%s\n' "Successfully created backup of config, ip sets and firewall rules."
;;
printf '\n%s\n' "Successfully created backup of config, ip sets and firewall rules." ;;
restore)
restorebackup
echolog "Successfully restored the firewall state from backup."
printf '\n%s\n\n' "View geoip status with '${blue}${proj_name} status${n_c}' (may require 'sudo')."
;;
statustip ;;
*) unknownact
esac

Expand Down

0 comments on commit 12bc6c8

Please sign in to comment.