Unverified Commit 952ecc10 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Display container name (#1104)

parent 448b34ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ if [[ "${RAM_SIZE,,}" == "half" ]]; then
  if (( (RAM_AVAIL / 2) > RAM_SPARE )); then
    wanted=$(( (RAM_AVAIL / 2) / 1048577 ))
    RAM_SIZE="${wanted}M"
    info "Allocated $wanted MB of RAM for the virtual machine."
    info "Allocated $wanted MB of RAM for $(app)."
  else
    RAM_SIZE="max"
  fi
@@ -65,7 +65,7 @@ if [[ "${RAM_SIZE,,}" == "max" ]]; then
  wanted=$(( wanted / 1048577 ))
  RAM_SIZE="${wanted}M"

  info "Allocated $wanted MB of RAM for the virtual machine."
  info "Allocated $wanted MB of RAM for $(app)."

fi

+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ _trap() {

app() {
  if [[ "$APP" == "QEMU" ]]; then
    echo "the VM" && return 0
    echo "the virtual machine" && return 0
  fi

  echo "$APP" && return 0