Skip to content

change id -n to -u in fork backend

nordugrid-arc-bot requested to merge dcameron/arc:forkid into next

Begin arcbot message
This merge request is automatically copied from !520 (merged) orginally made by @dcameron
End arcbot message

Using the fork backend I was getting errors like this:

id: cannot print only names or real IDs in default format /opt/arc/share/arc/submit-fork-job: line 133: [: =: unary operator expected

This is because the script was using id -n to get the uid, which is the wrong option. -u is the correct one.

Merge request reports