Skip to content

Commit

Permalink
Skip channel if not in configuration (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernemann authored and andig committed Oct 4, 2017
1 parent 694d286 commit 1d91737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/tools/vzcompress2.php
Expand Up @@ -182,7 +182,7 @@ public function run() {

private function skipChannel($channel) {
if (isset($this->config['channels']) && count($this->config['channels'])) {
if (in_array($channel['uuid'], $this->config['channels'])) return true;
if (!in_array($channel['uuid'], $this->config['channels'])) return true;
}
return false;
}
Expand Down

0 comments on commit 1d91737

Please sign in to comment.