Bug 6490 - grid-mapfile-delete-entry fails when entry not in file
: grid-mapfile-delete-entry fails when entry not in file
Status: RESOLVED FIXED
: GSI C
Authorization
: 4.2.1
: All All
: P3 minor
: 4.2.2
Assigned To:
:
: usability
:
:
  Show dependency treegraph
 
Reported: 2008-10-20 13:05 by
Modified: 2008-10-22 10:56 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-10-20 13:05:50
If an admin attempts to delete a gridmap entry and the gridmap is empty, the
script fails with something like this:

cat: ./.deleted_entries.59294: No such file or directory
/usr/globus/INSTALL/sbin/grid-mapfile-delete-entry: line 360: [: : integer
expression expected
ERROR: No such entry/mapping exists

instead of just saying that no such entry/mapping exists