Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return status should be zero for missing LFNs #7990

Open
acampove opened this issue Jan 15, 2025 · 0 comments
Open

Return status should be zero for missing LFNs #7990

acampove opened this issue Jan 15, 2025 · 0 comments

Comments

@acampove
Copy link

Dear Dirac Developers,

I am seeing:

acampove@thinkpad-t430$ dirac-dms-user-lfns -w dcheck.tar -b /lhcb/user/f/fake/run3/venv
Will search for files in /lhcb/user/f/fake/run3/venv matching *dcheck.tar
Error retrieving directory contents /lhcb/user/f/fake/run3/venv No such file or directory ( 2 : /lhcb/user/f/fake/run3/venv does not exist)
0 matched files have been put in lhcb-user-f-fake-run3-venv.lfns
acampove@thinkpad-t430$
acampove@thinkpad-t430$
acampove@thinkpad-t430$ echo $?
0

I believe this should not happen, if one searches for LFNs in a path that does not exist, the return status should be non-zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant