[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";
|
<< "-U";
|
||||||
if ( !shell.isEmpty() )
|
if ( !shell.isEmpty() )
|
||||||
{
|
{
|
||||||
useradd << "-s" << shell;
|
useraddCommand << "-s" << shell;
|
||||||
}
|
}
|
||||||
useradd << "-c" << fullName;
|
useraddCommand << "-c" << fullName;
|
||||||
useradd << loginName;
|
useraddCommand << loginName;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
auto commandResult = CalamaresUtils::System::instance()->targetEnvCommand( useraddCommand );
|
auto commandResult = CalamaresUtils::System::instance()->targetEnvCommand( useraddCommand );
|
||||||
|
Loading…
Reference in New Issue
Block a user