From 9ff5f02d8f37f1b0331961dd238b528d66bb60a1 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Sat, 13 Apr 2024 22:44:16 +0200 Subject: [PATCH] feat: Add function to show error message if path not specified --- quickget | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quickget b/quickget index 122dd86..b01794c 100755 --- a/quickget +++ b/quickget @@ -3662,6 +3662,12 @@ fi LANGS=() +os_path_error() { + echo "ERROR! You must specify path." + os_error + exit 1 +} + if [ -n "${1}" ]; then OS="${1,,}" if [ "${OS}" == "list" ] || [ "${OS}" == "list_csv" ]; then