Return on error here too.

Missed a 'return' catching an error.
This commit is contained in:
Auke Kok
2016-10-31 14:29:36 -07:00
parent 96a1f7cffc
commit cfacaece11
+1
View File
@@ -85,6 +85,7 @@ void try_to_get(const char *path, int pid, time_t timestamp)
if (ret == 0 && cred.pid == pid) {
printf("Recursion\n");
close(sockfd);
return;
}
command = NULL;