Browse Source

Set EDITOR only if not already set

Alessandro De Gennaro 4 years ago
parent
commit
1ab293872d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lcmlog

+ 1 - 1
lcmlog

@@ -2,7 +2,7 @@
 
 DIR="/var/local/log/lcmlog-data"
 
-EDITOR="nano"
+EDITOR="${EDITOR:-nano}"
 
 ######################
 # AUXILIARY FUNCTION #