forked from josch/mmdebstrap
hooklistener: print errors as warning and not just as debug messages
This commit is contained in:
parent
ce12fbdd41
commit
d02ea1c7f1
1 changed files with 1 additions and 1 deletions
|
@ -4030,7 +4030,7 @@ sub hooklistener {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if ($@) {
|
if ($@) {
|
||||||
debug("hooklistener errored out: $@");
|
warning("hooklistener errored out: $@");
|
||||||
# inform the other side that something went wrong
|
# inform the other side that something went wrong
|
||||||
print STDOUT (pack("n", 0) . "error")
|
print STDOUT (pack("n", 0) . "error")
|
||||||
or error "cannot write to socket: $!";
|
or error "cannot write to socket: $!";
|
||||||
|
|
Loading…
Reference in a new issue