From 9ff1b6e40e197e6dd6b2d134d7956876e5bd0cce Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Thu, 9 Dec 2021 17:15:06 +0000 Subject: [PATCH] Fixed bug Since file was renamed to `msedge-updater`, check if Edge process is running with simply "msedge" is no longer suitable. - changed this to "msedge-$edge-channel" --- msedge-updater | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msedge-updater b/msedge-updater index 2d0e96d..04e3dc7 100755 --- a/msedge-updater +++ b/msedge-updater @@ -302,7 +302,7 @@ log "DEBUG" "There is a more recent release of Microsoft Edge ($edge_channel) av [[ ! $quiet -eq 0 ]] && >&2 echo "Identified a new release of Microsoft Edge ($edge_channel) [Current: v$current_version. New: v$release_version]. Starting the download and installation process..." ## check if msedge process is already running -is_running=$(ps -aux | grep -oc 'msedge') +is_running=$(ps -aux | grep -oc "msedge-$edge_channel") if [[ $is_running -gt 1 ]] ; then log "DEBUG" "Identified running processes for msedge. Determining how script should handle process..." "$log_file" if [[ ! $yes_flag -eq 0 ]] ; then