https://bugzilla.novell.com/show_bug.cgi?id=664941 https://bugzilla.novell.com/show_bug.cgi?id=664941#c6 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |werner@novell.com InfoProvider|werner@novell.com | --- Comment #6 from Dr. Werner Fink <werner@novell.com> 2011-03-03 08:18:13 UTC --- The option -k of checkproc does *not* kill anything, it only use an other approach for searching for a process as well as using other exit codes, see manual page of checkproc(8): -k This option makes checkproc work like killproc(8) which changes the operation mode, e.g. the exit status of the program will be that of killproc(8). Without this option, checkproc works like startproc (8) and finds all processes with an executable that matches the specified pathname, even if a given pid file (see option -p) isn't up-to-date. Nevertheless it uses its own exit status (see section EXIT CODES). Just checked this: /suse/werner> sudo checkproc -v /usr/bin/ssh-agent 11819 /suse/werner> echo $? 0 /suse/werner> sudo checkproc -kv /usr/bin/ssh-agent 11819 /suse/werner> echo $? 0 /suse/werner> sudo checkproc -v /bin/true /suse/werner> echo $? 3 /suse/werner> sudo checkproc -kv /bin/true /suse/werner> echo $? 7 There I do not see how the supposed fix does change the behaviour. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.