diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-07-29 17:51:54 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-07-29 22:47:46 +0000 |
commit | b9bc216fddd7bf714c495031d6abd407fe381705 (patch) | |
tree | 629b7598182df69b58f19329489a449c2bc3cb7e /NEWS | |
parent | 2ddb73ddd3ce1b3dabbe4dcafeaabbb04dd90d06 (diff) | |
download | strace-b9bc216fddd7bf714c495031d6abd407fe381705.tar.gz |
Set exit status to 1 if strace has not traced any processes
* strace.c (main): Initialize exit_code with 1 when no processes
has been attached.
* strace.1: Document it.
* NEWS: Mention this change.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ Noteworthy changes in release ?.?? (????-??-??) =============================================== +* Changes in behavior + * When using -p option without a command and no processes has been attached, + strace exits with exit status 1. + Noteworthy changes in release 4.13 (2016-07-26) =============================================== |