#!/bin/bash

set -e

if ! ngcpcfg status ; then
  echo "ERROR: Failed to check 'ngcpcfg status', cannot continue!" >&2
  echo "(please apply/commit outstanding changes to continue the upgrade)" >&2
  exit 1
fi
