summarylogtreecommitdiffstats
path: root/003-fix_fsl_exec_empty_errorCode.patch
diff options
context:
space:
mode:
authorTobias Bachmann2018-11-26 17:47:59 +0100
committerTobias Bachmann2018-11-26 17:47:59 +0100
commit5b6a58592b3b3f47d83fe4199a0413861a980209 (patch)
tree276b6e3ccf039b1834f914d7d72417ce330302bd /003-fix_fsl_exec_empty_errorCode.patch
parent9a505b4833ab107ae2a5829e81648b773e3be10f (diff)
downloadaur-5b6a58592b3b3f47d83fe4199a0413861a980209.tar.gz
Initial commit for FSL 6.0
Diffstat (limited to '003-fix_fsl_exec_empty_errorCode.patch')
-rw-r--r--003-fix_fsl_exec_empty_errorCode.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/003-fix_fsl_exec_empty_errorCode.patch b/003-fix_fsl_exec_empty_errorCode.patch
new file mode 100644
index 000000000000..5e8cb0269cd2
--- /dev/null
+++ b/003-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"