Update of /cvsroot/env-switcher/env-switcher/src
In directory usw-pr-cvs1:/tmp/cvs-serv12070/src
Modified Files:
switcher.in
Log Message:
- Fix minor typo
- Use exit() to ensure to propogate the return value up to be the
executable's return status
Index: switcher.in
===================================================================
RCS file: /cvsroot/env-switcher/env-switcher/src/switcher.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** switcher.in 27 Oct 2002 12:10:31 -0000 1.12
--- switcher.in 29 Oct 2002 16:21:20 -0000 1.13
***************
*** 471,475 ****
if (! -d $dir) {
print_error("Error: tag directory \"$dir\" does not exist\n");
! return ;1
}
--- 471,475 ----
if (! -d $dir) {
print_error("Error: tag directory \"$dir\" does not exist\n");
! return 1;
}
***************
*** 1454,1456 ****
# Done
! $return_value;
--- 1454,1456 ----
# Done
! exit($return_value);
|