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

Programs utils/* die badly #121

Closed
pdav opened this Issue Feb 26, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@pdav
Collaborator

pdav commented Feb 26, 2014

Programs from package netmagis-utils die badly when there is an error in init method.

% /local/netmagis/bin/dnsaddhost
can't read "scriptargv0": no such variable
while executing
"puts stderr "$scriptargv0: $msg""
(procedure "::netmagis::Snit_methoderror" line 15)
invoked from within
"d error "$msg""
(procedure "main" line 10)
invoked from within
"main $argv0 $argv"
invoked from within
"exit [main $argv0 $argv]"
(file "/local/netmagis/bin/dnsaddhost" line 157)

@pdav pdav added this to the v2.2.2 milestone Feb 26, 2014

@pdav pdav added the bug label Feb 26, 2014

pdav added a commit that referenced this issue Feb 26, 2014

Bugfix: prevent netmagis-utils programs from dying badly.
Update the scriptargv0 variable as soon as possible in
init-script method.

Close #121

@pdav pdav closed this Feb 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment