summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r--perl-install/printer/main.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index 7c9930950..e53442866 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -647,7 +647,9 @@ sub set_cups_autoconf {
output($file, @file_content);
# Restart CUPS
- printer::services::restart("cups");
+ if ($autoconf) {
+ printer::services::restart("cups");
+ }
return 1;
}