mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 00:37:23 +03:00
Ignore failed ipcrm calls (#7218)
* Ignore failed ipcrm calls changelog_begin changelog_end * Update ci/clear-shared-segments-macos.yml Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com> Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>
This commit is contained in:
parent
0919221d04
commit
c3d758a2d3
@ -34,6 +34,8 @@ steps:
|
||||
# which is what ipcrm expects as its arguments. After the table, ipcs -m
|
||||
# adds an extra blank line, hence the extra sed at the end.
|
||||
for shmid in $(ipcs -m | sed 1,3d | awk '{print $2}' | sed '$d'); do
|
||||
ipcrm -m $shmid
|
||||
# Some memory segments cannot be removed and fail with "invalid argument".
|
||||
# We just ignore those for now instead of failing CI.
|
||||
ipcrm -m $shmid || true
|
||||
done
|
||||
name: clear_shm
|
||||
|
Loading…
Reference in New Issue
Block a user