Permalink
Browse files

mod_development: Fix false positive in inotifywait finding

  • Loading branch information...
1 parent 52231ae commit c87a46ea8f26fe839cc4f1f8dc40952aba7c79c2 @arjan arjan committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/mod_development/z_filewatcher_inotify.erl
@@ -42,7 +42,7 @@
%% @spec start_link(#context{}) -> {ok,Pid} | ignore | {error,Error}
%% @doc Starts the server
start_link(Context=#context{}) ->
- case os:cmd("which inotifywait") of
+ case os:cmd("which inotifywait 2>/dev/null") of
[] ->
{error, "inotifywait not found"};
Output ->

1 comment on commit c87a46e

Owner

kaos commented on c87a46e Nov 15, 2012

👍

Please sign in to comment.