From a8caae8897f17a2d08d5ff1a5f5187deb019417c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Mon, 16 Jan 2006 15:45:49 +0000 Subject: [PATCH] really omit -h if no dir specified --- citadel/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/citadel/setup.c b/citadel/setup.c index 9621127f2..274601a3f 100644 --- a/citadel/setup.c +++ b/citadel/setup.c @@ -1044,6 +1044,8 @@ int main(int argc, char *argv[]) sizeof relhome); calc_dirs_n_files(relh, home, relhome, ctdldir); + + enable_home=(relh|home); if ((home) && (chdir(setup_directory) != 0)) { important_message("Citadel Setup", -- 2.39.2