Unverified Commit 0b4ffe74 by Christian Brauner Committed by GitHub

Merge pull request #2384 from 2xsec/bugfix

pam_cgfs: fix Logically dead code.
parents 7568a48f 8c440b3a
...@@ -525,9 +525,6 @@ static int recursive_rmdir(char *dirname) ...@@ -525,9 +525,6 @@ static int recursive_rmdir(char *dirname)
struct stat st; struct stat st;
char *pathname; char *pathname;
if (!direntp)
break;
if (!strcmp(direntp->d_name, ".") || if (!strcmp(direntp->d_name, ".") ||
!strcmp(direntp->d_name, "..")) !strcmp(direntp->d_name, ".."))
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment