Skip to content

Commit

Permalink
Fix logic (Bug #13001).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 3, 2014
1 parent 2f45045 commit 2129715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/bin/horde-set-perms
Expand Up @@ -50,7 +50,7 @@ $group = $grouppars['gid'];

$cli->writeln();

if (!$cli->prompt($cli->red('Are you sure you want to alter permissions?'), array('y' => 'Yes', 'n' => 'No'), 'n') == 'y') {
if ($cli->prompt($cli->red('Are you sure you want to alter permissions?'), array('y' => 'Yes', 'n' => 'No'), 'n') != 'y') {
exit(0);
}

Expand Down

0 comments on commit 2129715

Please sign in to comment.