diff --git a/sanoid b/sanoid index 1eaff74..157270a 100755 --- a/sanoid +++ b/sanoid @@ -944,7 +944,7 @@ sub writelock { my $pid = $$; - open PL, "/bin/ps p $$ o args= |"; + open PL, "$pscmd p $$ -o args= |"; my @processlist = ; close PL;