From 9e9bce76c08d9a419a007c86a265f2e829b66613 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 30 Jun 2022 11:05:11 +0200 Subject: [PATCH] fix: replace non-existing `print_unkown_cmd` function Signed-off-by: Dominik Willner th33xitus@gmail.com --- scripts/nginx.sh | 3 +-- scripts/ui/update_menu.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/nginx.sh b/scripts/nginx.sh index 9da518d..ebe3b71 100644 --- a/scripts/nginx.sh +++ b/scripts/nginx.sh @@ -260,8 +260,7 @@ function detect_conflicting_packages() { echo -e "###### > Skip" break;; *) - print_unkown_cmd - print_msg && clear_msg;; + error_msg "Invalid command!";; esac done fi diff --git a/scripts/ui/update_menu.sh b/scripts/ui/update_menu.sh index 7816f00..3d6338d 100755 --- a/scripts/ui/update_menu.sh +++ b/scripts/ui/update_menu.sh @@ -129,8 +129,7 @@ function update_all() { N|n|No|no) break;; *) - print_unkown_cmd - print_msg && clear_msg;; + error_msg "Invalid command!";; esac done }