F #1684: Fix context failing LXD context on alpine (#134)

pull/135/head
Daniel Clavijo Coca 6 years ago committed by Vlastimil Holer
parent c20cb0a62e
commit 7daad146be

@ -172,7 +172,7 @@ function get_new_context {
context_sh $MOUNT_DIR
elif find '/context' -mindepth 1 -print -quit 2>/dev/null | grep -q .; then
elif find '/context' -mindepth 1 -print 2>/dev/null | grep -q .; then
mount_dir
cp /context/* "${MOUNT_DIR}"
context_sh "${MOUNT_DIR}"

Loading…
Cancel
Save