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