#!/bin/sh
CODE=$1
if [ -z "$2" ]; then
	MSG="Expected Error"
else
	MSG=$2
fi
if [ $CODE -eq 0 ]; then
	echo $MSG 1>&2
	exit 1
else
	exit 0
fi