uptime: bug fix

This commit is contained in:
Dylan Araps 2019-09-29 16:28:43 +03:00
parent ee6e1bd390
commit ca4004de90

2
pfetch
View File

@ -349,7 +349,7 @@ get_uptime() {
IFS=. read -r s _ < /proc/uptime
;;
Darwin*|*BSD*)
Darwin*|*BSD*|DragonFly*)
s=$(sysctl -n kern.boottime)
# Extract the uptime in seconds from the following output: