diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rwxr-xr-x | runvdr | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,8 @@ runvdr extreme Revision History xxxx-xx-xx: - Fix: Debian init script: Pull default locale +- Fix: Fail to load if AddPlugin is last in runvdr.conf +- Fix: Error message if runvdr.conf fails 2009-06-28: Version 0.4.2 - New: Support -i and --instance of VDR-1.7.4+ @@ -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 |