uptime: bug fix
This commit is contained in:
parent
ee6e1bd390
commit
ca4004de90
1 changed files with 1 additions and 1 deletions
2
pfetch
2
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue