Code cleanup

This commit is contained in:
angt
2015-12-24 17:38:08 +01:00
parent c81ad0a7c6
commit e5eb30598d

View File

@@ -882,7 +882,7 @@ int main (int argc, char **argv)
return 1; return 1;
} }
if ((st.st_mode&S_IFMT)!=S_IFIFO) { if (!S_ISFIFO(st.st_mode)) {
gt_log("`%s' is not a fifo\n", statefile); gt_log("`%s' is not a fifo\n", statefile);
return 1; return 1;
} }