Skip to content

Commit

Permalink
forgot to provide the full path to access()
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjudd committed Jan 26, 2013
1 parent c8b7823 commit ad26bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drip_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char **argv) {
wait(&status);

status /= 256;
if (access("status", F_OK) != -1) {
if (access(path("status"), F_OK) != -1) {
spit_int("status", status);
} else {
fprintf(stderr, "java process exited prematurely with status %d: ", status);
Expand Down

0 comments on commit ad26bd6

Please sign in to comment.