This commit is contained in:
belliash 2012-01-04 11:44:42 +01:00
parent 91710f3dd2
commit 63c21a5be8
2 changed files with 2 additions and 2 deletions

2
ezsync
View File

@ -21,7 +21,7 @@ until [[ -z "${1}" ]]; do
case "${1}" in case "${1}" in
-c|--cleanlog) -c|--cleanlog)
printInfo "Clearing log files..." printInfo "Clearing log files..."
cleanLogs cleanLog
;; ;;
-h|--help) -h|--help)
showEzsyncUsage showEzsyncUsage

View File

@ -6,7 +6,7 @@
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Completely removes log file # Completely removes log file
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
function cleanLogs() { function cleanLog() {
rm -rf ${LOGFILE} &> /dev/null rm -rf ${LOGFILE} &> /dev/null
} }