summaryrefslogtreecommitdiffstats
path: root/.local/bin/setwp
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-10-01 22:33:48 +0200
committerjoe <rbo@gmx.us>2025-10-01 22:33:48 +0200
commit8854fa0f8a831264ed815b3615038dec89c6f632 (patch)
treecb0eda5ade37b16adb72ee084e20fe284b2c90a1 /.local/bin/setwp
parentup (diff)
downloaddotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.gz
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.bz2
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.xz
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.zst
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.zip
up
Diffstat (limited to '.local/bin/setwp')
-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);
}