Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/whenever/command_line.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def write_crontab(contents)
IO.popen(command.join(' '), 'r+') do |crontab|
crontab.write(contents)
crontab.close_write
stdout = crontab.read
puts stdout unless stdout == ''
end

success = $?.exitstatus.zero?
Expand Down