DragonFly BSD
DragonFly bugs List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Dmitry Razumovsky via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Feb 2013 02:21:36 -0800

Issue #2517 has been reported by Svarov.

----------------------------------------
Bug #2517: varsym does not return an exit code
http://bugs.dragonflybsd.org/issues/2517

Author: Svarov
Status: New
Priority: Normal
Assignee: 
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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]