ssnail

crappy and opinionated static site generator
git clone https://git.e1e0.net/ssnail.git
Log | Files | Refs | README | LICENSE

commit 37a828c693f374907cb6e9b36c5fb580d3666ebd
parent 85d7b8bf1b19ac6437551864e013de6ae61c0554
Author: Paco Esteban <paco@e1e0.net>
Date:   Tue, 16 Jun 2020 19:07:21 +0200

fix process_dir when orig does not exist

Diffstat:
Mssnail.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ssnail.c b/ssnail.c @@ -335,7 +335,7 @@ process_dir(char orig[PATH_MAX], char dest[PATH_MAX], int force) } if ((dirp = opendir(orig)) == NULL) - goto out; + return -1; while ((dp = readdir(dirp)) != NULL) { if (strcmp(dp->d_name, ".") == 0