Merge pull request #7192 from giuseppe/system-service-join-ns-immediately

rootless: system service joins immediately the namespaces
This commit is contained in:
OpenShift Merge Robot 2020-08-04 12:17:34 +02:00 committed by GitHub
commit 861702e026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ can_use_shortcut ()
if (strcmp (argv[argc], "mount") == 0
|| strcmp (argv[argc], "search") == 0
|| strcmp (argv[argc], "system") == 0)
|| (strcmp (argv[argc], "system") == 0 && argv[argc+1] && strcmp (argv[argc+1], "service") != 0))
{
ret = false;
break;