[DragonFlyBSD - Bug #2517] (Closed) varsym does not return an exit code

Antonio M. Huete Jimenez via Redmine bugtracker-admin at leaf.dragonflybsd.org
Sat Mar 9 03:37:36 PST 2013


Issue #2517 has been updated by tuxillo.

Status changed from Feedback to Closed

Changes MFC'ed also.
----------------------------------------
Bug #2517: varsym does not return an exit code
http://bugs.dragonflybsd.org/issues/2517

Author: Svarov
Status: Closed
Priority: Normal
Assignee: tuxillo
Category: 
Target version: 


Hi.

Seems that varsym program does not properly return an exit code.
For example, this code won't work:

# varsym test=OK
# varsym test
test=OK
# varsym TEST
TEST: No such file or directory
# echo $?
0 # Should be 1
# varsym -q TEST || echo Hurrah!
#

Regards, Dmitry.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list