提交 05046e00 authored 作者: Travis Cross's avatar Travis Cross

fs_cli: fix default location of CLI history

Modern linux systems don't write volatile information to /etc.
上级 1e93151b
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论