wci-bash 0.20181204141508.0 → 0.20181204141911.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/include.d/functions.bash +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2ebb979c3a3dc095501c79714bdccf99c74902d
|
4
|
+
data.tar.gz: acd2a1855d1eb07be88f0e82a080b9c9982cb597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b10229dbc1220957b166c4199c78f918357746d13073add16196731340add4df92d4c58278bc94c50dac4ed468605b66ff2d6e8013f6fc2a464deaf383bfa17
|
7
|
+
data.tar.gz: d81e144dfe45380f02ed78a485d423b25e1a01eab0efb80d659963a33b3b6c9991f114f0d449e2ef7e2f1eebf72cc7f206ec20d42eb4c0edee53480e65677c0f
|
@@ -2,12 +2,12 @@
|
|
2
2
|
### function include file for wci-libs-bash
|
3
3
|
|
4
4
|
function log_error {
|
5
|
-
|
5
|
+
LOG_MESSAGE="$1"
|
6
6
|
THIS_PID="$$"
|
7
7
|
THIS_PID=${THIS_PID:-THIS_PID NOT SET}
|
8
8
|
SCRIPT_NAME=${SCRIPT_NAME:-SCRIPT_NAME NOT SET}
|
9
9
|
LOG_TIMESTAMP=`date "+%F %H:%M:%S %z"`
|
10
|
-
echo "${LOG_TIMESTAMP} - ${THIS_PID} - ${SCRIPT_NAME} - ERROR: ${
|
10
|
+
echo "${LOG_TIMESTAMP} - ${THIS_PID} - ${SCRIPT_NAME} - ERROR: ${LOG_MESSAGE}" >&2
|
11
11
|
}
|
12
12
|
|
13
13
|
function log_error_line {
|