From b1e2a0183a9b5b587968f2ab77ac5952331d1972 Mon Sep 17 00:00:00 2001 From: danix Date: Fri, 14 Apr 2023 09:32:15 +0200 Subject: removed the 'function' keyword before declaring a function as is not needed. --- SOURCE/CORE/core-backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SOURCE/CORE/core-backup.sh') diff --git a/SOURCE/CORE/core-backup.sh b/SOURCE/CORE/core-backup.sh index 25f67c9..7a0b6d1 100644 --- a/SOURCE/CORE/core-backup.sh +++ b/SOURCE/CORE/core-backup.sh @@ -1,4 +1,4 @@ -function backup_data() { +backup_data() { BACKUPDIR="$1" echo "backing up data in $BACKUPDIR" @@ -39,7 +39,7 @@ function backup_data() { fi } -function backup_restore() { +backup_restore() { BACKUPDIR="$1" echo "restoring backup from $BACKUPDIR" echo "This will overwrite all your notes and configurations with the backup." -- cgit v1.2.3