ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit ff85b159391514e72463ef062a5e4510d12b817b
parent 41794271a5a82b11f6484e5ad77d1558686a4f32
Author: sin <sin@2f30.org>
Date:   Wed,  4 Sep 2013 13:13:44 +0100

Add comment to clarify why we skip '-' in pidof(8)

Diffstat:
Mpidof.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/pidof.c b/pidof.c @@ -83,6 +83,7 @@ main(int argc, char *argv[]) *p = '\0'; cmd = basename(cmdline); } + /* Workaround for login shells */ if (cmd[0] == '-') cmd++; for (i = 0; i < argc; i++) {