Fix indentation
This commit is contained in:
@@ -26,15 +26,15 @@ static int checkServiceAccountFile(const char *fileName)
|
||||
struct stat info;
|
||||
if (-1 == stat(fileName, &info)) {
|
||||
switch (errno) {
|
||||
case ENOENT:
|
||||
fprintf(stderr, "%s: The file %s does not exist.[%s]\n", fname, fileName, strerror(errno));
|
||||
return -1;
|
||||
case EACCES:
|
||||
fprintf(stderr, "%s: No permission to read the file %s.[%s]\n", fname, fileName, strerror(errno));
|
||||
return -1;
|
||||
default:
|
||||
fprintf(stderr, "%s: Cannot retrieve the information of file %s.[%s]\n", fname, fileName, strerror(errno));
|
||||
return -1;
|
||||
case ENOENT:
|
||||
fprintf(stderr, "%s: The file %s does not exist.[%s]\n", fname, fileName, strerror(errno));
|
||||
return -1;
|
||||
case EACCES:
|
||||
fprintf(stderr, "%s: No permission to read the file %s.[%s]\n", fname, fileName, strerror(errno));
|
||||
return -1;
|
||||
default:
|
||||
fprintf(stderr, "%s: Cannot retrieve the information of file %s.[%s]\n", fname, fileName, strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user