complete-run: Unset I3SOCK

This commit is contained in:
Quentin Glidic 2012-08-11 22:17:23 +02:00
parent ae14fe9141
commit 783fd66b58
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ sub activate_i3 {
$ENV{LISTEN_PID} = $$;
$ENV{LISTEN_FDS} = 1;
delete $ENV{DESKTOP_STARTUP_ID};
delete $ENV{I3SOCK};
unless ($args{dont_create_temp_dir}) {
$ENV{XDG_RUNTIME_DIR} = '/tmp/i3-testsuite/';
mkdir $ENV{XDG_RUNTIME_DIR};