Skip to content

Commit c5a5012

Browse files
committed
Memsample: redirect the STDERR output (bsc#1195116)
- to not break the YaST UI - 4.4.38
1 parent b090564 commit c5a5012

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

bin/memsample

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ while true; do
3939
I=$((I + 1))
4040
I_TIME=$(printf %04d $I)-$(date -Iseconds)
4141

42+
# redirect STDERR to not break the YaST UI (bsc#1195116)
4243
{
4344
echo "### df-$I_TIME"
4445
df -k /
@@ -48,7 +49,7 @@ while true; do
4849

4950
echo "### ps-$I_TIME"
5051
memsample_ps
51-
} | gzip -c >> "$ARCHIVE"
52+
} 2>&1 | gzip -c >> "$ARCHIVE"
5253

5354
sleep "$SLEEP"
5455
done

package/yast2-installation.changes

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
-------------------------------------------------------------------
2+
Tue Feb 1 07:52:48 UTC 2022 - Ladislav Slezák <[email protected]>
3+
4+
- Redirect the STDERR output in the memsample script to not
5+
break the YaST UI (bsc#1195116)
6+
- 4.4.38
7+
18
-------------------------------------------------------------------
29
Thu Jan 27 07:50:21 UTC 2022 - Ladislav Slezák <[email protected]>
310

package/yast2-installation.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
Name: yast2-installation
20-
Version: 4.4.37
20+
Version: 4.4.38
2121
Release: 0
2222
Summary: YaST2 - Installation Parts
2323
License: GPL-2.0-only

0 commit comments

Comments
 (0)