[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
info -o: exit status 0 on error
From: |
Hilmar Preusse |
Subject: |
info -o: exit status 0 on error |
Date: |
Sat, 15 Oct 2022 23:52:19 +0200 |
Dear developers,
"info -o" exits with status 0 when it can't find the node:
$ info -o /dev/null lolcow
info: No menu item 'lolcow' in node '(dir)Top'
$ echo $?
0
In contrast, if I omit the -o option, it exits with status 1, as it should:
$ info lolcow
info: No menu item 'lolcow' in node '(dir)Top'
$ echo $?
1
The issue was reported for texinfo 6.8, but is reproducible w/ latest
checkout the git master. Please keep me in Cc, I'm not subscribed to
the list.
H.
--
http://www.hilmar-preusse.de/
signature.asc
Description: PGP signature
- info -o: exit status 0 on error,
Hilmar Preusse <=