summarylogtreecommitdiffstats
path: root/003-fix_fsl_exec_empty_errorCode.patch
blob: 5e8cb0269cd2c2408a983280378e2de84af33f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/fsl/src/misc_tcl/fsl_exec.tcl	2018-10-23 18:49:44.000000000 +0200
+++ b/fsl/src/misc_tcl/fsl_exec.tcl	2018-11-25 18:52:30.636934316 +0100
@@ -175,6 +175,9 @@
 	set logout ""
     }
 
+    # make sure errorCode is set
+    if { ! [ info exists ::errorCode ] } { set ::errorCode "NONE" }
+
     # run and log the actual command
     if { $do_logout } {
 	fsl:echo $logout "\n$thecommand"