mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Fix #492
This commit is contained in:
parent
f527dd1c6a
commit
02754205a2
|
@ -4232,7 +4232,7 @@ static void launch_app(const char *path, char *newpath)
|
|||
}
|
||||
|
||||
if (tmp && *tmp) // NOLINT
|
||||
spawn(tmp, "0", NULL, path, r);
|
||||
spawn(tmp, (r == F_NORMAL) ? "0" : NULL, NULL, path, r);
|
||||
}
|
||||
|
||||
static int sum_bsize(const char *UNUSED(fpath), const struct stat *sb, int typeflag, struct FTW *UNUSED(ftwbuf))
|
||||
|
|
Loading…
Reference in a new issue