[users] Fix build on Linux
This commit is contained in:
parent
d4a784f521
commit
a564d7a753
@ -121,10 +121,10 @@ createUser( const QString& loginName, const QString& fullName, const QString& sh
|
||||
<< "-U";
|
||||
if ( !shell.isEmpty() )
|
||||
{
|
||||
useradd << "-s" << shell;
|
||||
useraddCommand << "-s" << shell;
|
||||
}
|
||||
useradd << "-c" << fullName;
|
||||
useradd << loginName;
|
||||
useraddCommand << "-c" << fullName;
|
||||
useraddCommand << loginName;
|
||||
#endif
|
||||
|
||||
auto commandResult = CalamaresUtils::System::instance()->targetEnvCommand( useraddCommand );
|
||||
|
Loading…
Reference in New Issue
Block a user