aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/db.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db.sh b/src/db.sh
index ab1f82f..2d3dd1e 100644
--- a/src/db.sh
+++ b/src/db.sh
@@ -28,9 +28,9 @@ update_shared_dir() {
readonly default_db_name='links.bin'
db_path="$shared_root_dir$default_db_name"
-declare -A database
-declare -A shared_paths
-declare -A symlink_paths
+declare -A database=()
+declare -A shared_paths=()
+declare -A symlink_paths=()
update_database_path() {
if [ "$#" -ne 1 ]; then