From 8ba67d990f13faa816ad883a6b3b94094a364a9a Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 21 Jul 2012 15:52:52 +0200 Subject: [PATCH] Fix bad commit --- slic3r.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slic3r.pl b/slic3r.pl index 2ae7710e4..977f7f0fb 100755 --- a/slic3r.pl +++ b/slic3r.pl @@ -75,7 +75,7 @@ Slic3r::Config->set($_ => $cli_options{$_}) for keys %cli_options; # validate configuration, convert options like --print-center to arrayrefs, init extruders etc. # ignore errors if we're launching the GUI eval { Slic3r::Config->validate }; -die $@ unless $gui; +die $@ if $@ && !$gui; # save configuration Slic3r::Config->save($opt{save}) if $opt{save};