Skip to content

Commit

Permalink
Update jlink_user_terminator.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hnkr authored Jun 15, 2021
1 parent aa4dfc7 commit db0cafa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jlink_user_terminator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ tokens=( $var )
bus=${tokens[1]}
device=$(echo ${tokens[3]} |awk '{ print substr( $0, 1, length($0)-1 ) }')
if [[ -n $bus ]] && [[ -n $device ]]; then
#echo $bus $device
app=$(lsof /dev/bus/usb/$bus/$device)
if [[ -z $app ]]; then
echo "<$f_name>Device is not in use!"
Expand Down

0 comments on commit db0cafa

Please sign in to comment.