more killall and pgrep updates.

This commit is contained in:
Tom Mortensen
2024-10-11 02:22:55 -07:00
parent a866de833a
commit b783d4b207
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ default:
$file = "/var/lib/$dir/check.status.$id"; $file = "/var/lib/$dir/check.status.$id";
if (file_exists($file)) { if (file_exists($file)) {
switch ($cmd) { switch ($cmd) {
case 'btrfs-check': $pgrep = 'pgrep --ns \$\$ -f '."'/sbin/btrfs check .*$dev'"; break; case 'btrfs-check': $pgrep = 'pgrep --ns $$ -f '."'/sbin/btrfs check .*$dev'"; break;
case 'rfs-check': $pgrep = 'pgrep --ns $$ -f '."'/sbin/reiserfsck $dev'"; break; case 'rfs-check': $pgrep = 'pgrep --ns $$ -f '."'/sbin/reiserfsck $dev'"; break;
case 'xfs-check': $pgrep = 'pgrep --ns $$ -f '."'/sbin/xfs_repair.*$dev'"; break; case 'xfs-check': $pgrep = 'pgrep --ns $$ -f '."'/sbin/xfs_repair.*$dev'"; break;
} }

View File

@@ -372,7 +372,7 @@ function my_rmdir($dirname) {
'dataset' => $zfsdataset, 'dataset' => $zfsdataset,
'type' => $fstype, 'type' => $fstype,
'cmd' => $cmdstr, 'cmd' => $cmdstr,
'error' => 'error' => $error,
]; ];
break; break;
case "btrfs": case "btrfs":