This commit is contained in:
belliash 2012-01-04 11:44:42 +01:00
父節點 91710f3dd2
當前提交 63c21a5be8
共有 2 個文件被更改,包括 2 次插入2 次删除

2
ezsync
查看文件

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

查看文件

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