#!/bin/sh

in=$1
hup()
{
	if ! [ $1 ]
	then
		return
	else
		kill -HUP $1
	fi
}

mupid=$(ps ax | grep "mupdf.*$in" | \
	grep -v grep)
hup $mupid
