File: tabble-wrapper

package info (click to toggle)
tabble 0.43-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 604 kB
  • ctags: 233
  • sloc: ansic: 2,881; sh: 1,053; makefile: 24
file content (17 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# 2010-05-24 Modified from original sources by Jari Aalto <jari.aalto@cante.net>

Main ()
{
    if [ "$LOGNAME" ]; then
	# Signal 50 in program asks for restart
	killall -50 --user $LOGNAME tabble || tabble "$@" &
    else
	echo "[ERROR] can't restart tabble. LOGNAME not defined." >&2
	return 1
    fi
}

Main "$@"

# End of file