]> Sergey Matveev's repositories - nnn.git/commit
Fix #459
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 1 Feb 2020 03:27:16 +0000 (08:57 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 1 Feb 2020 03:27:16 +0000 (08:57 +0530)
commit27943b9efb95453258f9171916978d25a3ee6adc
treede5c1d36c89c90208765a05b6afb237df2670460
parentc7e2dc0005f55c921fa26edf130db75400d88c1d
Fix #459

The following changes are made:

- STDOUT and STDIN are redirected to /dev/null when spawning rclone
  rclone blocks and also shows error/warning messages. nnn needs to spawn
  rclone and return without waiting. To avoid the rclone messages from
  corrupting the screen nnn makes the child silent.
  Note: sshfs returns after mount with a proper error code
- prompt only if both sshfs and rclone are installed
src/nnn.c