Merge branch 'master' of https://git.asifbacchus.app/asif/borgScripts
This commit is contained in:
commit
37bd4e69c6
@ -272,6 +272,7 @@ if [ "$commonOptions" ]; then commonOptions=${commonOptions##[[:space:]]}; fi
|
||||
if [ "$restoreOptions" ]; then restoreOptions=${restoreOptions##[[:space:]]}; fi
|
||||
|
||||
# check/create restore path
|
||||
if [ "$operation" = 'restore' ]; then
|
||||
if [ -d "$restorePath" ]; then
|
||||
if ! touch "${restorePath}/touch.test" > /dev/null 2>&1; then
|
||||
consoleError 5 'Cannot write to specified restore directory.'
|
||||
@ -285,7 +286,7 @@ else
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
### read borg information file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user