Skip to content

Commit

Permalink
use word boundary instead of deleting the white space
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyge2022 committed Dec 14, 2023
1 parent ee8f3c2 commit fa3397a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dora/integration/fuse/bin/alluxio-fuse
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ unmount_command() {
readonly force_kill

local fuse_pid
fuse_pid=$(ps ax -o pid,args | grep [A]lluxioFuse | grep " ${mount_point}" | awk '{print $1}')
fuse_pid=$(ps ax -o pid,args | grep [A]lluxioFuse | grep " ${mount_point}\b" | awk '{print $1}')
if [[ -z "${fuse_pid}" ]];then
err "Cannot find AlluxioFuse Java process for ${mount_point}"
return 1
Expand Down

0 comments on commit fa3397a

Please sign in to comment.