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: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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";
} }