summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-04 15:38:22 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-04 15:38:22 +0000
commitb276a002a94f672da5697133dbaff6bd28f17ab6 (patch)
tree73ff9f58b9563fc02d23084652ac259a9c48d8dc /perl-install/printer.pm
parent058da567f460f3cafeb472e877eb7d8fe7ff1265 (diff)
downloaddrakx-b276a002a94f672da5697133dbaff6bd28f17ab6.tar
drakx-b276a002a94f672da5697133dbaff6bd28f17ab6.tar.gz
drakx-b276a002a94f672da5697133dbaff6bd28f17ab6.tar.bz2
drakx-b276a002a94f672da5697133dbaff6bd28f17ab6.tar.xz
drakx-b276a002a94f672da5697133dbaff6bd28f17ab6.zip
added die on error of lpadmin.
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r--perl-install/printer.pm2
1 files changed, 1 insertions, 1 deletions
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.