diff --git a/ezsync b/ezsync index fd53a37..aa5fae1 100755 --- a/ezsync +++ b/ezsync @@ -21,7 +21,7 @@ until [[ -z "${1}" ]]; do case "${1}" in -c|--cleanlog) printInfo "Clearing log files..." - cleanLogs + cleanLog ;; -h|--help) showEzsyncUsage diff --git a/libraries/filesystem b/libraries/filesystem index 84f9563..ba54ecb 100644 --- a/libraries/filesystem +++ b/libraries/filesystem @@ -6,7 +6,7 @@ #------------------------------------------------------------------------------- # Completely removes log file #------------------------------------------------------------------------------- -function cleanLogs() { +function cleanLog() { rm -rf ${LOGFILE} &> /dev/null }