nc-snapshot-auto.sh: Ad quotes to allow datadirectory paths with spaces

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-01-08 22:42:58 +01:00
parent 9b8af4db99
commit 2c94c420d8
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -29,7 +29,7 @@ configure()
source /usr/local/etc/library.sh
DATADIR=\$(get_nc_config_value datadirectory) || {
DATADIR="\$(get_nc_config_value datadirectory)" || {
echo -e "Error reading data directory. Is NextCloud running and configured?";
exit 1;
}