Merge branch 'fix-returncode' into 'master'
return nonzero returncode upon failure See merge request c2-games/red-team/watershell!1
This commit is contained in:
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
|
|||||||
if (DEBUG) perror("ioctl SIOCGIFFLAGS");
|
if (DEBUG) perror("ioctl SIOCGIFFLAGS");
|
||||||
close(sockfd);
|
close(sockfd);
|
||||||
free(sifreq);
|
free(sifreq);
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//set up promisc mode if enabled
|
//set up promisc mode if enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user