aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples/no-empty-user
blob: f398f65e24581d1e7a116407806b86d93d692a29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- shell-script -*-

# The module restarts gates-of-tartaros is the user line is left empty


read_function_no_empty_user=$read_function
read_function=_read_no_empty_user

function _read_no_empty_user
{
    $read_function_no_empty_user
    if [ "${lower}" = "" ]; then
	exit 0
    fi
}