hooklistener: process error messages

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-10-23 11:49:14 +02:00
parent aef8fcfb75
commit ce12fbdd41
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -4022,6 +4022,8 @@ sub hooklistener {
if ($? != 0) {
error "tar failed";
}
} elsif ($msg eq "error") {
error "received error on socket";
} else {
error "unknown message: $msg";
}