Procházet zdrojové kódy

Fix: BSD expr syntax error on empty $NNNLVL (#546)

master
Rami3L GitHub před 4 roky
rodič
revize
45a69f1cbf
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      misc/quitcd/quitcd.fish

+ 1
- 1
misc/quitcd/quitcd.fish Zobrazit soubor

@@ -4,7 +4,7 @@

function n --description 'support nnn quit and change directory'
# Block nesting of nnn in subshells
if test -n NNNLVL
if test -n "$NNNLVL"
if [ (expr $NNNLVL + 0) -ge 1 ]
echo "nnn is already running"
return


Načítá se…
Zrušit
Uložit