fix: Fixed bug where color of symlinks was not suitably assigned because the case was not handled (#541)

This commit is contained in:
Andrea Alberti 2025-09-18 03:58:56 +02:00 committed by GitHub
parent 74589572f8
commit 6d7fb94ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,6 +176,8 @@ const char* colorize_from_mode(char* file, const struct stat* sb)
return mode_color[COL_OR];
}
return get_color(file, &sb2);
} else {
return mode_color[COL_LN];
}
}
case S_IFIFO: