fs_cli: fix default location of CLI history

Modern linux systems don't write volatile information to /etc.
This commit is contained in:
Travis Cross 2011-09-22 05:03:22 +00:00
parent 1e93151b79
commit 05046e005e
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ int main(int argc, char *argv[])
char cmd_str[1024] = "";
cli_profile_t *profile = NULL;
#ifndef WIN32
char hfile[512] = "/etc/fs_cli_history";
char hfile[512] = "/tmp/fs_cli_history";
char cfile[512] = "/etc/fs_cli.conf";
char dft_cfile[512] = "/etc/fs_cli.conf";
#else