Skip to content

Commit

Permalink
fix timeout , use minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
cquijano committed Apr 2, 2015
1 parent 2b5efb8 commit 39ee241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ int wait_for_write_fs(const char* path,callback ptr_callback)

while (1){
DEBUG("Waiting for inotify event\n");
tv.tv_sec = timeout*10;
tv.tv_sec = timeout*60;
FD_SET(fd, &rfds);
if ( select(1, &rfds, NULL, NULL, &tv)<0 ){
ERR("Error on Select\n");
Expand Down

0 comments on commit 39ee241

Please # to comment.