summaryrefslogtreecommitdiffstats
path: root/.local/bin/setwp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/setwp2
1 files changed, 0 insertions, 2 deletions
diff --git a/.local/bin/setwp b/.local/bin/setwp
index 0786461..647a332 100755
--- a/.local/bin/setwp
+++ b/.local/bin/setwp
@@ -5,7 +5,6 @@ use warnings;
use File::HomeDir qw(home);
use File::Copy;
use File::Find;
-use POSIX qw(setsid);
use constant {
WP_POOL => home() . '/pics/wp/'
@@ -96,7 +95,6 @@ sub main
if (@ARGV == 0 || (@ARGV != 0 && $ARGV[0] ne '-nw')) {
my $arg = fork();
if (not $arg) {
- setsid();
exec('herbe', ' wp set') if ($ret == 0);
exec('herbe', ' wp is not a valid file') if ($ret != 0);
}