X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fgrandstream.pm;h=5c6f1ed8d90f065b9f389c577ce4089975854666;hb=674cb2d9d7105f4cc2871539b2e9f7088cdaa750;hp=a3a8fd64a7cf9ee0e68db85b218277d587b55ec4;hpb=f0132dafa8a636b0ffb265fd398e7e82cf3d55b1;p=freeside.git diff --git a/FS/FS/part_export/grandstream.pm b/FS/FS/part_export/grandstream.pm index a3a8fd64a..5c6f1ed8d 100644 --- a/FS/FS/part_export/grandstream.pm +++ b/FS/FS/part_export/grandstream.pm @@ -89,8 +89,7 @@ sub gs_create_config { 'com.grandstream.cmd.TextEncoder', $mac, $filename, "$dir/cfg$mac", ); - run \@cmd, '>&', \$out_and_err, - }, + run \@cmd, '>&', \$out_and_err or die "grandstream encode failed: $out_and_err"; unlink $filename;