From a0c177107f8434675afaea0aef2e9ccf79d9d0e7 Mon Sep 17 00:00:00 2001 From: afify Date: Wed, 26 May 2021 18:02:12 +0300 Subject: [PATCH] [fix] rmwatch if open file with mvfwd() --- sfm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sfm.c b/sfm.c index 42fa685..a2a0246 100644 --- a/sfm.c +++ b/sfm.c @@ -856,6 +856,7 @@ mvfwd(void) print_error(strerror(errno)); break; case 1: /* not a directory open file */ + rmwatch(cpane); tb_shutdown(); s = opnf(CURSOR(cpane).name); if (tb_init() != 0) -- 2.11.4.GIT