mirror of
https://github.com/jarun/nnn.git
synced 2024-09-19 08:47:13 +03:00
Remove redundant check
sdfdf
This commit is contained in:
parent
c09ac1c174
commit
3f4efbefe4
@ -1,7 +1,7 @@
|
||||
n ()
|
||||
{
|
||||
# Block nesting of nnn in subshells
|
||||
if [ -n $NNNLVL ] && [ "${NNNLVL:-0}" -ge 1 ]; then
|
||||
if [[ "${NNNLVL:-0}" -ge 1 ]]; then
|
||||
echo "nnn is already running"
|
||||
return
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user