From 260b84f38225fb25f81c2c2689319dd7a760459c Mon Sep 17 00:00:00 2001 From: Staubgeborener Date: Wed, 31 Jul 2024 15:58:46 +0200 Subject: [PATCH] beautify functions --- utils/utils.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/utils.func b/utils/utils.func index 4f18c81..b689bbe 100644 --- a/utils/utils.func +++ b/utils/utils.func @@ -246,7 +246,7 @@ removeOldInotify() { done } -function show_help { +show_help(){ echo "Usage: $(basename $0) [OPTION]..." echo "Klipper-Backup is a script for manual or automated Klipper GitHub backups. It's Lightweight, pragmatic and comfortable." echo "https://github.com/Staubgeborener/klipper-backup" @@ -263,7 +263,7 @@ function show_help { echo " $(basename $0) --fix" } -function fix { +fix(){ loading_wheel "${Y}●{NC} Delete config_backup folder" & loading_pid=$! if [ ! -d "$HOME/$backup_folder" ]; then