aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-29 16:28:43 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-29 16:28:43 +0300
commitca4004de904266e23c51aa0d0d965098a3f20bf2 (patch)
tree307f94e0392b209ec332f400dde303692d36a037
parentee6e1bd39066ea619c5e211b735197bf717b0e47 (diff)
downloadpfetch-ca4004de904266e23c51aa0d0d965098a3f20bf2.tar.gz
uptime: bug fix
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
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: