fix container_id var
This commit is contained in:
parent
518f7fa0d1
commit
58e7765794
@ -67,7 +67,7 @@ case "${#containers[@]}" in
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
container=$(echo "$cont_search" | grep ^"$selection)" | awk '{print $2}')
|
container=$(echo "$cont_search" | grep ^"$selection)" | awk '{print $2}')
|
||||||
container_id=$(echo "$search" | grep -E "[[:space:]]${container}[[:space:]]" | awk '{print $1}')
|
container_id=$(grep -E "[[:space:]]${container}[[:space:]]" cont_file | awk '{print $1}')
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
while true
|
while true
|
||||||
|
Loading…
Reference in New Issue
Block a user