From 7daad146be936146c0a4165505b079a46a6e45a4 Mon Sep 17 00:00:00 2001 From: Daniel Clavijo Coca Date: Thu, 6 Dec 2018 04:00:55 -0600 Subject: [PATCH] F #1684: Fix context failing LXD context on alpine (#134) --- src/usr/sbin/one-contextd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/sbin/one-contextd b/src/usr/sbin/one-contextd index 495f2c3..b0b8bb2 100755 --- a/src/usr/sbin/one-contextd +++ b/src/usr/sbin/one-contextd @@ -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}"