--- lib/PXElator/x11.pm 2009/08/16 21:10:42 226 +++ lib/PXElator/x11.pm 2009/08/16 21:27:39 228 @@ -22,8 +22,8 @@ sub xterm { my ( $name, $cmd ) = @_; + $name =~ s{\s+}{-}g; my $screenrc = "/tmp/$name.screenrc"; - $screenrc =~ s{\s+}{-}g; my ($autodetach,$detach) = $ENV{DISPLAY} ? ('off','') : ( 'on', 'detach' );