mirror of
http://mpg123.de/trunk/.git
synced 2025-07-31 13:24:22 +03:00
Also return an error if mpg123 had problems.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3519 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
@ -37,6 +37,8 @@ print "#decoder";
|
||||
for(@encs){ print " t_$_/s"; }
|
||||
print "\n";
|
||||
|
||||
my $allret = 0;
|
||||
|
||||
foreach my $cpu (@cpus)
|
||||
{
|
||||
print "$cpu";
|
||||
@ -51,6 +53,7 @@ foreach my $cpu (@cpus)
|
||||
{
|
||||
print STDERR "Execution of $MPG123_CMD failed with code $ret!\n";
|
||||
$runtime = 0;
|
||||
$allret = 1;
|
||||
}
|
||||
# third entry is child user time
|
||||
printf(" %4.2f", $runtime);
|
||||
@ -58,4 +61,4 @@ foreach my $cpu (@cpus)
|
||||
print("\n");
|
||||
}
|
||||
|
||||
|
||||
exit($allret);
|
||||
|
Reference in New Issue
Block a user