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

add LOCALDUMP_LOADED

parent 312fbe37
No related branches found
No related tags found
1 merge request!43Update localdump to classlike functions
......@@ -43,6 +43,8 @@
exit 1
fi
LOCALDUMP_LOADED=1
BACKUP_BASEDIR=
BACKUP_PLUGINDIR=
......
......@@ -14,7 +14,7 @@
# 2022-02-18 ah v2.1 WIP: added counters
# ================================================================================
if [ -z "$BACKUP_TARGETDIR" ]; then
if [ -z "$LOCALDUMP_LOADED" ]; then
echo "ERROR: you cannot start $(basename $0) directly. Start localdump.sh instead."
rc+=1
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment