[users] Fix build on Linux

main
Adriaan de Groot 5 years ago
parent 1e08ee084f
commit 4d85a64e4f

@ -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…
Cancel
Save