#!/bin/sh

if [ "w$1" = "w" ]; then
    echo "usage: $0 <syslog tag> <cmdline..>"
    exit 1
fi

syslogtag="$1"; shift

exec "$@" | logger -t "$syslogtag"
