mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kinit: disable session manager for KIO slaves
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3298200d40
commit
edc24a7f6e
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
::setlocale(LC_ALL, "");
|
::setlocale(LC_ALL, "");
|
||||||
|
::unsetenv("SESSION_MANAGER");
|
||||||
|
|
||||||
if (!argv[1])
|
if (!argv[1])
|
||||||
{
|
{
|
||||||
fprintf(stderr, "slave executable path is empty.\n");
|
fprintf(stderr, "slave executable path is empty.\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue