Skip to content

Commit f094823

Browse files
committed
run_part: drop void symlink check
Since stat(2) is used the result can never be a symbolic link.
1 parent 278c3d2 commit f094823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/run_part.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ int run_parts (const char *directory, const char *name, const char *action)
8181
return (1);
8282
}
8383

84-
if (S_ISREG (sb.st_mode) || S_ISLNK (sb.st_mode)) {
84+
if (S_ISREG (sb.st_mode)) {
8585
execute_result = run_part (s, name, action);
8686
}
8787

0 commit comments

Comments
 (0)