From 63c21a5be8272abba15011b48fcfd67e03f6a8d6 Mon Sep 17 00:00:00 2001 From: belliash Date: Wed, 4 Jan 2012 11:44:42 +0100 Subject: [PATCH] cosmetic --- ezsync | 2 +- libraries/filesystem | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }