This commit is contained in:
iceman1001 2020-02-12 02:13:04 +01:00
parent 257a722cd4
commit 86fdf8e987

View file

@ -240,7 +240,13 @@ static void fPrintAndLog(FILE *stream, const char *fmt, ...) {
fprintf(stderr, "[-] Can't open logfile %s, logging disabled!\n", my_logfile_path);
logging = 0;
} else {
printf("[=] Session log %s\n", my_logfile_path);
if (session.supports_colors) {
printf(_YELLOW_("[=]") "Session log " _YELLOW_("%s") "\n", my_logfile_path);
} else {
printf("[=] Session log %s\n", my_logfile_path);
}
}
free(my_logfile_path);
}