Missing argument

Co-Authored-By: Kayou <pierre@kayou.io>
This commit is contained in:
Maniack Crudelis 2020-04-24 23:56:49 +02:00 committed by GitHub
parent d9aa345ee8
commit defabdbecb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ ynh_system_user_create () {
else
local shell="--shell /usr/sbin/nologin"
fi
useradd $user_home_dir --system --user-group $username $shell || ynh_die "Unable to create $username system account"
useradd $user_home_dir --system --user-group $username $shell || ynh_die --message="Unable to create $username system account"
fi
}