Skip to content

Commit

Permalink
Silence setup restart warning
Browse files Browse the repository at this point in the history
Prevents the following output from `bin/setup`:
`touch: tmp/restart.txt: No such file or directory`
  • Loading branch information
andyw8 authored and jsteiner committed Apr 14, 2015
1 parent 4ca528f commit 384a7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_app/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Dir.chdir APP_ROOT do
system "rm -rf tmp/cache"

puts "\n== Restarting application server =="
system "touch tmp/restart.txt"
system "touch tmp/restart.txt > /dev/null 2>&1"
end

0 comments on commit 384a7cc

Please sign in to comment.