diff --git a/src/redirect/main.c b/src/redirect/main.c index 5d2efac..ef905b0 100644 --- a/src/redirect/main.c +++ b/src/redirect/main.c @@ -21,6 +21,7 @@ #include #include +#include "../common/files.h" #include "nica/util.h" #include "redirect.h" @@ -58,12 +59,6 @@ typedef struct LsiRedirectTable { */ static LsiRedirectTable lsi_table = { 0 }; -static inline bool lsi_file_exists(const char *path) -{ - struct stat st = { .st_ino = 0 }; - return (lstat(path, &st) == 0); -} - /** * Determine the basename'd process */