From 6229526ed99fe6ee50932cf727420f03f132f63c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 26 May 2025 15:40:58 -0500 Subject: [PATCH] Update emulator-sync-scripts.sh --- emulator-sync-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator-sync-scripts.sh b/emulator-sync-scripts.sh index 1487b12..c265969 100755 --- a/emulator-sync-scripts.sh +++ b/emulator-sync-scripts.sh @@ -54,7 +54,7 @@ RUNSYNC(){ mv ${ES_LOGFOLDER}/nextcloudcmd.txt ${ES_LOGFOLDER}/nextcloudcmd.txt.1 2>/dev/null dbfile=( ${NC_PATH}/.*.db ) - /usr/bin/sqlite3 $dbfile 'PRAGMA journal_mode = delete;' 2>/dev/null + clearDB=$(/usr/bin/sqlite3 $dbfile 'PRAGMA journal_mode = delete;') 2>/dev/null ${ES_FOLDER}/nextcloud-sync-cron/nextcloud-sync-cron.sh --verbose --logdir ${ES_LOGFOLDER} ${ES_FOLDER}/nextcloud-client.conf