This commit is contained in:
Cyberes 2024-03-30 20:51:43 -06:00
parent 037bc45467
commit 60e76d755d
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ current_time=$(date +%s)
start_time_diff="undefined"
end_time_diff="undefined"
if [ -n "$start_time" ]; then
if [ -n "$start_time" ] && [ "$start_time" != "n/a" ]; then
start_time_diff=$((current_time - $(date -d "$start_time" +%s)))
start_time_diff_perf="| uptime=${start_time_diff}s"
fi