Lines 9-22
Link Here
|
9 |
# executed for testing. |
9 |
# executed for testing. |
10 |
# |
10 |
# |
11 |
|
11 |
|
12 |
if [ -z "${TLPREFIX}" ]; then |
12 |
if [ -z ${TLPREFIX+x} ]; then |
13 |
echo "Cannot work without TLPREFIX. Exiting." |
13 |
echo "Cannot work without TLPREFIX. Exiting." |
14 |
exit 1 |
14 |
exit 1 |
15 |
fi |
15 |
fi |
16 |
|
16 |
|
17 |
source ${TLPREFIX}/libexec/functions |
17 |
source ${TLPREFIX}/libexec/functions |
18 |
|
18 |
|
19 |
if [ -z "${TLSESSIONDATA}" ]; then |
19 |
if [ -z ${TLSESSIONDATA+x} ]; then |
20 |
echo "TLSESSIONDATA is not set. Are you in a proper ThinLinc session?" |
20 |
echo "TLSESSIONDATA is not set. Are you in a proper ThinLinc session?" |
21 |
exit 1 |
21 |
exit 1 |
22 |
fi |
22 |
fi |