Skip to content

Commit

Permalink
snapcraft/commands/daemon.reload: use exec
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
(cherry picked from commit 8bf3fc9)
  • Loading branch information
simondeziel authored and tomponline committed Nov 7, 2024
1 parent cf19cb3 commit 2dfd4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft/commands/daemon.reload
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ fi

echo reload > "${SNAP_COMMON}/state"
read -r PID < "${SNAP_COMMON}/lxd.pid"
kill "$PID"
exec kill "$PID"

0 comments on commit 2dfd4eb

Please sign in to comment.