From a7ab3f9eddde5f5ddc480b51993f00460048127a Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 22 Aug 2019 14:57:00 -0500 Subject: Fix syntax error in recipe --- recipes-core/useradd/useradd.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/useradd/useradd.bb b/recipes-core/useradd/useradd.bb index 78fc981..7b70fec 100644 --- a/recipes-core/useradd/useradd.bb +++ b/recipes-core/useradd/useradd.bb @@ -56,7 +56,7 @@ pkg_postinst_${PN} () { # If doing an update, we need to add mtadm to dialout. # If the admin has been changed, then the user must # do something himself. - if [[ -z ${D} ]] ; then + if [[ -z $D ]] ; then sudo groupmems -a mtadm -g dialout || true fi } -- cgit v1.2.3