mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
Remove redundant check
sdfdf
This commit is contained in:
parent
c09ac1c174
commit
3f4efbefe4
|
@ -1,7 +1,7 @@
|
||||||
n ()
|
n ()
|
||||||
{
|
{
|
||||||
# Block nesting of nnn in subshells
|
# 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"
|
echo "nnn is already running"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue