really omit -h if no dir specified
authorWilfried Göesgens <willi@citadel.org>
Mon, 16 Jan 2006 15:45:49 +0000 (15:45 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 16 Jan 2006 15:45:49 +0000 (15:45 +0000)
citadel/setup.c

index 9621127f231dcb1b64668883a68c84b0ed3d5edf..274601a3f3445878b89219526b02a0ac3d4c00c3 100644 (file)
@@ -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",