summaryrefslogtreecommitdiffstats
path: root/meta/classes/useradd.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/useradd.bbclass')
-rw-r--r--meta/classes/useradd.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index c9103cbe6a..124becd082 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -118,6 +118,7 @@ useradd_sysroot () {
118 # useradd/groupadd tools are unavailable. If there is no dependency, we assume we don't want to 118 # useradd/groupadd tools are unavailable. If there is no dependency, we assume we don't want to
119 # create users in the sysroot 119 # create users in the sysroot
120 if ! command -v useradd; then 120 if ! command -v useradd; then
121 bbwarn "command useradd not found!"
121 exit 0 122 exit 0
122 fi 123 fi
123 124