From 12bc6c8694a8b803fe8f4a4a29cb7dc75ae89ed2 Mon Sep 17 00:00:00 2001 From: amos Date: Sun, 18 Feb 2024 00:16:43 +0200 Subject: [PATCH] backup: use statustip() (implemented in -common) --- geoip-shell-backup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/geoip-shell-backup.sh b/geoip-shell-backup.sh index 4810def..d96661d 100644 --- a/geoip-shell-backup.sh +++ b/geoip-shell-backup.sh @@ -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