summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_ntpd_pps.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/services_ntpd_pps.php')
-rw-r--r--src/usr/local/www/services_ntpd_pps.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/services_ntpd_pps.php b/src/usr/local/www/services_ntpd_pps.php
index 3e4cb83..b7061a2 100644
--- a/src/usr/local/www/services_ntpd_pps.php
+++ b/src/usr/local/www/services_ntpd_pps.php
@@ -91,9 +91,9 @@ if ($_POST) {
write_config("Updated NTP PPS Settings");
+ $changes_applied = true;
$retval = 0;
- $retval = system_ntp_configure();
- $savemsg = get_std_save_message($retval);
+ $retval |= system_ntp_configure();
}
}
@@ -108,8 +108,8 @@ if ($input_errors) {
print_input_errors($input_errors);
}
-if ($savemsg) {
- print_info_box($savemsg, 'success');
+if ($changes_applied) {
+ print_apply_result_box($retval);
}
$tab_array = array();
OpenPOWER on IntegriCloud