summarylogtreecommitdiffstats
path: root/002-fix_fsl_exec_empty_errorCode.patch
diff options
context:
space:
mode:
Diffstat (limited to '002-fix_fsl_exec_empty_errorCode.patch')
-rw-r--r--002-fix_fsl_exec_empty_errorCode.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/002-fix_fsl_exec_empty_errorCode.patch b/002-fix_fsl_exec_empty_errorCode.patch
new file mode 100644
index 000000000000..5e8cb0269cd2
--- /dev/null
+++ b/002-fix_fsl_exec_empty_errorCode.patch
@@ -0,0 +1,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"