We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 831f02e commit 77816d4Copy full SHA for 77816d4
1 file changed
history.c
@@ -178,7 +178,8 @@ proceed_history(void) {
178
hf->hf_fd = open(hf->hf_path,
179
O_WRONLY|O_CREAT|O_APPEND|O_NONBLOCK, 0666);
180
if (hf->hf_fd == -1) {
181
- warnx("cannot open %s", hf->hf_path);
+ warnx("cannot open '%s', disabling history", hf->hf_path);
182
+ enable_history = 0;
183
while (!SIMPLEQ_EMPTY(&hf->hf_tasks)) {
184
it = SIMPLEQ_FIRST(&hf->hf_tasks);
185
SIMPLEQ_REMOVE_HEAD(&hf->hf_tasks, it_entry);
0 commit comments