summaryrefslogtreecommitdiff
path: root/runvdr
diff options
context:
space:
mode:
Diffstat (limited to 'runvdr')
-rwxr-xr-xrunvdr3
1 files changed, 2 insertions, 1 deletions
diff --git a/runvdr b/runvdr
index b6f80cf..54b95ca 100755
--- a/runvdr
+++ b/runvdr
@@ -265,6 +265,7 @@ function AddPluginString() {
else
[ -n "$1" ] && PLUGINS[${#PLUGINS[*]}]="$1";
fi
+ return 0
}
function AddPlugin() {
# add $* as plugin, do shell quoting
@@ -340,7 +341,7 @@ function LoadConfFile() {
fi
if [ -n "$RUNVDRCONF" ] ; then
if [ -r "$RUNVDRCONF" ] ; then
- . "$RUNVDRCONF" || exit 1
+ . "$RUNVDRCONF" || { echo "runvdr: $RUNVDRCONF returned with $?." >&2 ; exit 1 ; }
else
echo "runvdr: $RUNVDRCONF not found." >&2
fi