fix indent
This commit is contained in:
6
local.c
6
local.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: local.c,v 1.26 2003/01/31 16:25:09 ukai Exp $ */
|
||||
/* $Id: local.c,v 1.27 2003/01/31 16:26:41 ukai Exp $ */
|
||||
#include "fm.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
@@ -186,9 +186,7 @@ check_local_cgi(char *file, int status)
|
||||
return -1;
|
||||
if (S_ISDIR(st.st_mode))
|
||||
return -1;
|
||||
if ((st.st_uid == geteuid() && (st.st_mode & S_IXUSR)) ||
|
||||
(st.st_gid == getegid() && (st.st_mode & S_IXGRP)) ||
|
||||
(st.st_mode & S_IXOTH)) /* executable */
|
||||
if ((st.st_uid == geteuid() && (st.st_mode & S_IXUSR)) || (st.st_gid == getegid() && (st.st_mode & S_IXGRP)) || (st.st_mode & S_IXOTH)) /* executable */
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user