#! /bin/sh

# $Copyright:	$
# Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 
# Sequent Computer Systems, Inc.   All rights reserved.
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.

#ident	"$Header: admerr 1.4 89/10/11 $@(#)sadmin:shell/admerr	2.3"
#	Issue a standard error message for an administrative command.

#!	chmod +x ${file}

if [ $# -lt 2 ]
then
	echo >&2 "Usage:  $0 command-name message ..."
	exit 1
fi

case $0 in
*/admerr | admerr )
	type='ADMIN COMMAND'
	;;
* )
	type=SOFTWARE
esac

cmd=$1
shift
echo >&2 "
${type} ERROR:	Call Customer Service.
	${cmd}:  $*\\n"
