mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
Remove unnecessary redirection
This commit is contained in:
parent
f343f315b5
commit
7a76ca8548
|
@ -12,7 +12,8 @@
|
|||
# Authors: Marty Buchaus, Dave Snider, Tim Adler
|
||||
|
||||
if [ ! -p "$NNN_PIPE" ]; then
|
||||
echo 'ERROR: NNN_PIPE is not set' | ${PAGER:-less}
|
||||
printf 'ERROR: NNN_PIPE is not set!'
|
||||
read -r _
|
||||
exit 2
|
||||
fi
|
||||
|
||||
|
|
|
@ -31,7 +31,8 @@ fi
|
|||
|
||||
# Check if NNN_PIPE is set
|
||||
if [ -z "$NNN_PIPE" ]; then
|
||||
echo 'ERROR: NNN_PIPE is not set' | ${PAGER:-less}
|
||||
printf 'ERROR: NNN_PIPE is not set!'
|
||||
read -r _
|
||||
exit 2
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue