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

src: Separate ln options from arguments #183

Conversation

AleksanderBobinski
Copy link
Contributor

In rare cases it might happen that a file is actually a broken symbolic link, to for example '-1'. Such a '-1' target is then interpreted as an option to ln instead of being properly treated as a file causing aconfmgr to fail during 'aconfmgr save'.

My real life example is:

$ sudo file /var/lib/jenkins/jobs/BSPQ19-E1/builds/lastSuccessfulBuild
/var/lib/jenkins/jobs/BSPQ19-E1/builds/lastSuccessfulBuild: broken symbolic link to -1

In rare cases it might happen that a file is actually a broken symbolic
link, to for example '-1'. Such a '-1' target is then interpreted as an
option to ln instead of being properly treated as a file causing
aconfmgr to fail during 'aconfmgr save'.
@CyberShadow
Copy link
Owner

Thank you!

@CyberShadow CyberShadow merged commit 94401f6 into CyberShadow:master Dec 10, 2023
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants