X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2b3af97df2b9368ea02cab49898b931d1c3d0598..e6432f05795ba0eaf1e34bb47b2a7f87a762de29:/client/cmdscript.c diff --git a/client/cmdscript.c b/client/cmdscript.c index 928a216d..730f4e96 100644 --- a/client/cmdscript.c +++ b/client/cmdscript.c @@ -83,7 +83,7 @@ int CmdList(const char *Cmd) { while ((ep = readdir (dp)) != NULL) { - if(ep->d_name != NULL && str_ends_with(ep->d_name, ".lua")) + if(str_ends_with(ep->d_name, ".lua")) PrintAndLog("%-16s %s", ep->d_name, "A script file"); } (void) closedir (dp);