Skip to content

Commit

Permalink
Merge pull request #200 from simondeziel/warn-on-lxc-debug-latest-can…
Browse files Browse the repository at this point in the history
…didate

snapcraft/commands/daemon.start: have LXD warn if a lxc debug binary is found (latest-candidate)
  • Loading branch information
tomponline authored Nov 20, 2023
2 parents 8c09675 + f23e60d commit 7b326ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snapcraft/commands/daemon.start
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,11 @@ if [ -L "${SNAP_COMMON}/lxd/lxd.db" ]; then
mv "${SNAP_DATA}/lxd/lxd.db" "${SNAP_COMMON}/lxd/lxd.db"
fi

# Warn the user if a debug LXC binary is found
if [ -x "${SNAP_COMMON}/lxc.debug" ]; then
echo "==> WARNING: A custom debug LXC binary was found!"
fi

## Start lxd
echo "=> Starting LXD"

Expand Down

0 comments on commit 7b326ea

Please sign in to comment.