From: Fabrice Desclaux Date: Wed, 19 Sep 2012 18:11:25 +0000 (+0200) Subject: fix home directory X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=HEAD;p=protos%2Fxbee.git fix home directory --- diff --git a/main.c b/main.c index fd658a0..e878a34 100644 --- a/main.c +++ b/main.c @@ -852,7 +852,7 @@ int main(int argc, char **argv) if (access(xbeerc_path, R_OK) == 0) { xbee_cl = cmdline_file_new(&main_ctx, "xbeerc> ", - "/home/zer0/.xbeerc", 1); + xbeerc_path, 1); if (xbee_cl != NULL) { cmdline_interact(xbee_cl); cmdline_free(xbee_cl);