summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-load-config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-load-config.pl b/scripts/vyatta-load-config.pl
index de6d9ab..1ffadcd 100755
--- a/scripts/vyatta-load-config.pl
+++ b/scripts/vyatta-load-config.pl
@@ -104,7 +104,7 @@ elsif ( $mode eq 'url' ) {
print "Package [curl] not installed\n";
exit 1;
}
- if ( $proto eq 'http' ) {
+ if ( $proto eq 'http' or $proto eq 'https' ) {
#
# error codes are send back in html, so 1st try a header
# and look for "HTTP/1.1 200 OK"