cosmetic
This commit is contained in:
parent
91710f3dd2
commit
63c21a5be8
2
ezsync
2
ezsync
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue