[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";
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…
Cancel
Save