diff --git a/rtracker b/rtracker index 459ba78..4e2e4db 100755 Binary files a/rtracker and b/rtracker differ diff --git a/rtracker.c b/rtracker.c index a180d80..cbe356a 100644 --- a/rtracker.c +++ b/rtracker.c @@ -37,6 +37,7 @@ bool runCommand(char* command) { return false; } + out_i = 0; // Read the output a line at a time and store it in the out array while (fgets(path, sizeof(path), fp) != NULL) { strncpy(out[out_i], path, 100);