aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-23 23:12:13 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-23 23:12:13 +0530
commit6853487109b86e4cf7bdecf97ad074721925f975 (patch)
tree56e7d0af2de50ee5e5494c60d7c8095b905d233d /src
parent9e974be3ddb42fd0b00d12b82610f5828fd2fd3a (diff)
downloadnnn-6853487109b86e4cf7bdecf97ad074721925f975.tar.gz
Fix lint issue
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index c92621b..489acd9 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3581,9 +3581,10 @@ int main(int argc, char *argv[])
browse(ipath);
exitcurses();
- if (cfg.pickraw)
+ if (cfg.pickraw) {
opt = write(1, pcopybuf, copybufpos - 1);
- else if (!cfg.picker && g_cppath[0])
+ DPRINTF_D(opt);
+ } else if (!cfg.picker && g_cppath[0])
unlink(g_cppath);
#ifdef LINUX_INOTIFY