summaryrefslogtreecommitdiff
path: root/utils/gdm-restart.in
blob: db1d634b610e1191bd75545a606913141ab24e3a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

PIDFILE=@GDM_PID_FILE@
if test '!' -f $PIDFILE ; then
	echo "$PIDFILE doesn't exist, perhaps GDM isn't running"
	exit 1
fi
# exec the kill to get the correct return code
exec kill -HUP `cat $PIDFILE`