hooklistener: process error messages
This commit is contained in:
parent
aef8fcfb75
commit
ce12fbdd41
1 changed files with 2 additions and 0 deletions
|
@ -4022,6 +4022,8 @@ sub hooklistener {
|
||||||
if ($? != 0) {
|
if ($? != 0) {
|
||||||
error "tar failed";
|
error "tar failed";
|
||||||
}
|
}
|
||||||
|
} elsif ($msg eq "error") {
|
||||||
|
error "received error on socket";
|
||||||
} else {
|
} else {
|
||||||
error "unknown message: $msg";
|
error "unknown message: $msg";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue