diff --git a/default.inc b/default.inc index a076fda..86bf163 100755 --- a/default.inc +++ b/default.inc @@ -159,7 +159,7 @@ SHOW_TIME() { if [ $hour != 0 ]; then t+=", "; fi t+="${min} mins" fi - if [ "${1}" == "s" ]; then + if [ "${2}" == "s" ]; then if [ $hour != 0 ] || [ $min != 0 ]; then t+=", "; fi t+="${sec} secs" fi