Fix bad commit

This commit is contained in:
Alessandro Ranellucci 2012-07-21 15:52:52 +02:00
parent 7170b347db
commit 8ba67d990f

View File

@ -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};