lib/chake/backend.rb in chake-0.1.3 vs lib/chake/backend.rb in chake-0.1.4

- old
+ new

@@ -23,10 +23,10 @@ def run_as_root(cmd) if node.username == 'root' run(cmd) else - run('sudo ' + cmd) + run('sudo sh -c "' + cmd + '"') end end def to_s self.class.backend_name