more killall and pgrep updates.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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":
|
||||||
|
Reference in New Issue
Block a user