diff options
| author | danix <danix@danix.xyz> | 2023-04-14 09:32:15 +0200 |
|---|---|---|
| committer | danix <danix@danix.xyz> | 2023-04-14 09:32:15 +0200 |
| commit | b1e2a0183a9b5b587968f2ab77ac5952331d1972 (patch) | |
| tree | e5b0fc44e1fe1e49626d71bf40559ad2319429a3 /SOURCE/CORE/core-backup.sh | |
| parent | 87a368fe55efdd2cba599e07f29786a3ad745310 (diff) | |
| download | bash-notes-b1e2a0183a9b5b587968f2ab77ac5952331d1972.tar.gz bash-notes-b1e2a0183a9b5b587968f2ab77ac5952331d1972.zip | |
removed the 'function' keyword before declaring a function as is not needed.
Diffstat (limited to 'SOURCE/CORE/core-backup.sh')
| -rw-r--r-- | SOURCE/CORE/core-backup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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." |
