Skip to content

Commit

Permalink
Merge pull request #1017 from yast/memsample_stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Feb 1, 2022
2 parents b090564 + c5a5012 commit d3f142e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/memsample
Expand Up @@ -39,6 +39,7 @@ while true; do
I=$((I + 1))
I_TIME=$(printf %04d $I)-$(date -Iseconds)

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

echo "### ps-$I_TIME"
memsample_ps
} | gzip -c >> "$ARCHIVE"
} 2>&1 | gzip -c >> "$ARCHIVE"

sleep "$SLEEP"
done
7 changes: 7 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 1 07:52:48 UTC 2022 - Ladislav Slezák <lslezak@suse.cz>

- Redirect the STDERR output in the memsample script to not
break the YaST UI (bsc#1195116)
- 4.4.38

-------------------------------------------------------------------
Thu Jan 27 07:50:21 UTC 2022 - Ladislav Slezák <lslezak@suse.cz>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-installation
Version: 4.4.37
Version: 4.4.38
Release: 0
Summary: YaST2 - Installation Parts
License: GPL-2.0-only
Expand Down

0 comments on commit d3f142e

Please sign in to comment.