Quellcode durchsuchen

Dpkg::Shlibs::Cppfilt: Use syserr instead of internerr on spawn

Guillem Jover vor 13 Jahren
Ursprung
Commit
ac36c31b05
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      scripts/Dpkg/Shlibs/Cppfilt.pm

+ 1 - 1
scripts/Dpkg/Shlibs/Cppfilt.pm

@@ -47,7 +47,7 @@ sub get_cppfilt {
 	$filt->{pid} = spawn(exec => [ 'c++filt', "--format=$type" ],
 	                     from_pipe => \$filt->{from},
 	                     to_pipe => \$filt->{to});
-	internerr(_g('unable to execute %s'), 'c++filt')
+	syserr(_g('unable to execute %s'), 'c++filt')
 	    unless defined $filt->{from};
 	$filt->{from}->autoflush(1);