summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/gaiaos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/gaiaos.rb')
-rw-r--r--lib/oxidized/model/gaiaos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/gaiaos.rb b/lib/oxidized/model/gaiaos.rb
index 8f13bcb..c2598dd 100644
--- a/lib/oxidized/model/gaiaos.rb
+++ b/lib/oxidized/model/gaiaos.rb
@@ -8,7 +8,7 @@ class GaiaOS < Oxidized::Model
comment '# '
cmd :all do |cfg|
- cfg = cfg.each_line.to_a[1..-2].join
+ cfg.cut_both
end
cmd :secret do |cfg|