Skip to content

Commit

Permalink
Ignore daemon-reload errors in postrm (#7072)
Browse files Browse the repository at this point in the history
Fixes #7027 in the release branch.

## Azure IoT Edge PR checklist:
  • Loading branch information
damonbarry authored Jul 28, 2023
1 parent afd6b3a commit 291d716
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
52 changes: 26 additions & 26 deletions edgelet/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion edgelet/contrib/debian/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

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

if [ -d /etc/aziot ]; then
Expand Down

0 comments on commit 291d716

Please sign in to comment.