mirror of
https://github.com/unraid/webgui.git
synced 2026-05-08 05:12:14 -05:00
xfs_repair not running in the background.
This commit is contained in:
@@ -18,11 +18,7 @@ mkdir -p /var/lib/xfs
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
'start')
|
'start')
|
||||||
# Start the xfs_repair process in the background and log output
|
# Start the xfs_repair process in the background and log output
|
||||||
nohup bash -c "(
|
/sbin/xfs_repair $4 $2 &> /var/lib/xfs/check.status.$3 &
|
||||||
/sbin/xfs_repair $4 $2 &> /var/lib/xfs/check.status.$3
|
|
||||||
echo \$? > /var/lib/xfs/check.status.$3.exit
|
|
||||||
rm -f /var/lib/xfs/check.pid.$3
|
|
||||||
) &" &
|
|
||||||
pid=$!
|
pid=$!
|
||||||
echo $pid > /var/lib/xfs/check.pid.$3
|
echo $pid > /var/lib/xfs/check.pid.$3
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user