summaryrefslogtreecommitdiff
path: root/libbb/procps.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-29 18:27:14 +0000
committerDenis Vlasenko2007-09-29 18:27:14 +0000
commit1ebd0a6d9162c377e4b214c0a506d3f78702d66e (patch)
tree5ecc9378f962b73ba19b76f17f533c61c7e316e8 /libbb/procps.c
parent66bbfbd581669dfada661c2de5d15187be61f786 (diff)
downloadbusybox-1ebd0a6d9162c377e4b214c0a506d3f78702d66e.zip
busybox-1ebd0a6d9162c377e4b214c0a506d3f78702d66e.tar.gz
remove if() which is always true
Diffstat (limited to 'libbb/procps.c')
-rw-r--r--libbb/procps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index f1c0b6d..e62e5a1 100644
--- 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;