Skip to content

change id -n to -u in fork backend

David Cameron requested to merge dcameron/arc:forkid into master

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.

Edited by Maiken

Merge request reports

Loading