From b276a002a94f672da5697133dbaff6bd28f17ab6 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 4 Apr 2001 15:38:22 +0000 Subject: added die on error of lpadmin. --- perl-install/printer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/printer.pm b/perl-install/printer.pm index e3ce0f7fa..313df7806 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -497,7 +497,7 @@ sub configure_queue($) { $entry->{cupsPPD} ? ("-m", $entry->{cupsPPD}) : (), $entry->{Info} ? ("-D", $entry->{Info}) : (), $entry->{Location} ? ("-L", $entry->{Location}) : (), - ); + ) or die "lpadmin failed"; last }; /lpr/ && do { #- old style configuration scheme for lpr. -- cgit v1.2.1