Remove redundant check

sdfdf
This commit is contained in:
Arun Prakash Jana 2022-07-10 09:57:20 +05:30
parent c09ac1c174
commit 3f4efbefe4
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -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