From ca4004de904266e23c51aa0d0d965098a3f20bf2 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 29 Sep 2019 16:28:43 +0300 Subject: [PATCH] uptime: bug fix --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index 14fc6d1..af80084 100755 --- a/pfetch +++ b/pfetch @@ -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: