Skip to content

Commit

Permalink
Revert "Correct issue with cmd.php parameters"
Browse files Browse the repository at this point in the history
This reverts commit 6ec3b2e.
  • Loading branch information
netniV committed Mar 26, 2019
1 parent 6ec3b2e commit bb00052
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd.php
Expand Up @@ -243,9 +243,6 @@ function debug($message) {

if ($first == NULL && $last == NULL) {
// This is valid
} elseif ($first == NULL || $last == NULL) {
cacti_log('FATAL: You must either a host range, or no range at all using --first=N --last=N syntax!', true, 'POLLER');
exit(-1);
} elseif (!is_numeric($first) || $first < 0) {
cacti_log('FATAL: The first host in the host range is invalid!', true, 'POLLER');
exit(-1);
Expand Down

0 comments on commit bb00052

Please sign in to comment.