Project

General

Profile

Actions

Bug #2517

closed

varsym does not return an exit code

Added by Svarov about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/23/2013
Due date:
% Done:

0%

Estimated time:

Description

Hi.

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

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

Regards, Dmitry.

Actions

Also available in: Atom PDF