dot

packages and services management
Log | Files | Refs | README

commit 95d39b3d77db196d5ba41836e9624a124479f66b
parent 9ed340d5524c568a06834235d0e4ade837992785
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 15 Mar 2018 11:24:35 +0100

pstree: fixed option on busybox ps

Diffstat:
Mbin/pstree | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/pstree b/bin/pstree @@ -27,7 +27,7 @@ function list(entries) opt = "-o ppid,user,tty,nice,pid,stat,comm" cmd = "ps -ax " opt " 2>/dev/null"; if (!(cmd | getline)) { - cmd = "ps -o " opt + cmd = "ps " opt cmd | getline; } sub(" *[^ ]+", "");