Skip to content

Commit

Permalink
Ignore daemon-reload errors in postrm (#540)
Browse files Browse the repository at this point in the history
Cherry-pick 33825ef.
  • Loading branch information
damonbarry authored Jul 28, 2023
1 parent cfdbac7 commit 7856c23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
submodules: 'recursive'
- name: 'Run'
run: |
sudo df -h
sudo rm -rf /usr/local
sudo df -h
docker run --rm \
-v "$GITHUB_WORKSPACE:/src" \
-e "ARCH=$ARCH" \
Expand Down
2 changes: 1 addition & 1 deletion contrib/debian/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -e

case "$1" in
purge)
systemctl daemon-reload
systemctl daemon-reload 2>/dev/null || true

# Kill all processes running under aziot-identity-service users.
killall -SIGKILL -u aziotid || true
Expand Down

0 comments on commit 7856c23

Please sign in to comment.