aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/simple_interfaces_group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/simple_interfaces_group.rb b/app/models/simple_interfaces_group.rb
index 53e28c36a..1e13bd0b5 100644
--- a/app/models/simple_interfaces_group.rb
+++ b/app/models/simple_interfaces_group.rb
@@ -31,7 +31,7 @@ class SimpleInterfacesGroup
name = "### #{self.name} ###"
centered_name = " " * ([width - name.size, 0].max / 2) + name
banner = [centered_name]
- banner << "Output to: #{shared_options[:output_dir]}" if shared_options[:output_dir]
+ banner << "Output to: #{shared_options[:output_dir]}" if shared_options && shared_options[:output_dir]
banner << ""
banner << @interfaces.each_with_index.map do |interface, i|
if interface[:interface].status.present?