diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/procps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/procps.c b/libbb/procps.c index f1c0b6d27..e62e5a1f1 100644 --- a/libbb/procps.c +++ b/libbb/procps.c | |||
@@ -382,8 +382,7 @@ procps_status_t *procps_scan(procps_status_t* sp, int flags) | |||
382 | n = read_to_buf(filename, buf); | 382 | n = read_to_buf(filename, buf); |
383 | if (n <= 0) | 383 | if (n <= 0) |
384 | break; | 384 | break; |
385 | if (flags & PSSCAN_ARGV0) | 385 | sp->argv0 = xstrdup(buf); |
386 | sp->argv0 = xstrdup(buf); | ||
387 | } | 386 | } |
388 | #endif | 387 | #endif |
389 | break; | 388 | break; |