github.com/dmaizel/tests@v0.0.0-20210728163746-cae6a2d9cee8/pentest/lib.sh (about)

     1  #!/bin/bash
     2  #
     3  # Copyright (c) 2018 Intel Corporation
     4  #
     5  # SPDX-License-Identifier: Apache-2.0
     6  #
     7  
     8  die(){
     9  	msg="$*"
    10  	echo "ERROR: $msg" >&2
    11  	exit 1
    12  }