From 1b98ed62f160719ce07039fe2eb47d80a25969a0 Mon Sep 17 00:00:00 2001 From: Henric Andersson Date: Wed, 16 Nov 2016 22:22:21 -0800 Subject: [PATCH] Wrong function --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 35b1cbb..0afdd13 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -383,7 +383,7 @@ done # valid will NOT be saved. if [ "${SAVECONFIG}" = "yes" ]; then if [ ! -d "$(eval cd ${DOWNLOADDIR// /\\ } 2>/dev/null && pwd)" ]; then - error "Download directory does not exist or is not a directory (tried \"${DOWNLOADDIR}\")" + errorLog "Download directory does not exist or is not a directory (tried \"${DOWNLOADDIR}\")" exit 1 fi echo "# Config file for plexupdate" >${CONFIGFILE:="${HOME}/.plexupdate"}