Skip to content
Snippets Groups Projects
Commit 2e9f8353 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

restore - remove warning if archive does not exist

parent 458ddfc0
No related branches found
No related tags found
1 merge request!129Db Profiles
...@@ -189,7 +189,8 @@ ...@@ -189,7 +189,8 @@
function listBackupedServices(){ function listBackupedServices(){
( (
find "${BACKUP_BASEDIR}" -mindepth 1 -maxdepth 1 -type d -exec basename {} \; find "${BACKUP_BASEDIR}" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;
test -n "${ARCHIVE_BASEDIR}" && find "${ARCHIVE_BASEDIR}" -mindepth 1 -maxdepth 1 -type d -exec basename {} \; test -n "${ARCHIVE_BASEDIR}" && test -d "${ARCHIVE_BASEDIR}" \
&& find "${ARCHIVE_BASEDIR}" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;
) | sort -u ) | sort -u
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment