Lines 44-51
Link Here
|
44 |
current="$vpnc_conf_dir/$config" |
44 |
current="$vpnc_conf_dir/$config" |
45 |
|
45 |
|
46 |
# Start vpnc. |
46 |
# Start vpnc. |
47 |
if ! $command --local-port 0 $current $vpnc_flags; then |
47 |
$command --local-port 0 $current $vpnc_flags |
48 |
status=$? |
48 |
status=$? |
|
|
49 |
if [ $status -ne 0 ]; then |
49 |
# VPNC does not print a newline after an error. |
50 |
# VPNC does not print a newline after an error. |
50 |
echo |
51 |
echo |
51 |
echo "Running 'vpnc $current --local-port 0 $vpnc_flags' failed." |
52 |
echo "Running 'vpnc $current --local-port 0 $vpnc_flags' failed." |