mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-10-24 11:49:20 +00:00
~修复显示bug
This commit is contained in:
@@ -7,7 +7,7 @@ running_status(){
|
|||||||
if [ -n "$start_time" ]; then
|
if [ -n "$start_time" ]; then
|
||||||
time=$(($(date +%s) - start_time))
|
time=$(($(date +%s) - start_time))
|
||||||
day=$((time / 86400))
|
day=$((time / 86400))
|
||||||
[ "$day" = "0" ] && day='' || day="$dayD"
|
[ "$day" = "0" ] && day='' || day="${day}D"
|
||||||
time=$(date -u -d @${time} +%H:%M:%S)
|
time=$(date -u -d @${time} +%H:%M:%S)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user