aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 6d953b8..7d514de 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4252,7 +4252,11 @@ nochange:
/* Locker */
if (idletimeout && idle == idletimeout) {
idle = 0;
- spawn(utils[LOCKER], NULL, NULL, NULL, F_NORMAL);
+ tmp = utils[LOCKER];
+ if (!getutil(tmp))
+ tmp = "pipes.sh";
+
+ spawn(tmp, NULL, NULL, NULL, F_NORMAL);
if (ndents)
copycurname();
goto begin;