projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66bbfbd
)
remove if() which is always true
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 29 Sep 2007 18:27:14 +0000
(18:27 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 29 Sep 2007 18:27:14 +0000
(18:27 -0000)
libbb/procps.c
patch
|
blob
|
history
diff --git
a/libbb/procps.c
b/libbb/procps.c
index f1c0b6d2700ec0a18c41e961a1a7764c494e6f4f..e62e5a1f16959664367f864cf53a591d117fb87c 100644
(file)
--- a/
libbb/procps.c
+++ b/
libbb/procps.c
@@
-382,8
+382,7
@@
procps_status_t *procps_scan(procps_status_t* sp, int flags)
n = read_to_buf(filename, buf);
if (n <= 0)
break;
- if (flags & PSSCAN_ARGV0)
- sp->argv0 = xstrdup(buf);
+ sp->argv0 = xstrdup(buf);
}
#endif
break;