Skip to content

Commit

Permalink
FIX: Throw error when secure policy is set to throw instead of quit…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
Oldes committed Feb 19, 2025
1 parent 9a33e77 commit d070502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mezz/mezz-secure.reb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ secure: function/with [

; Check if SECURE is secured:
if pol-obj/secure <> 0.0.0 [
if pol-obj/secure == 'throw [cause-error 'access 'security :policy]
if pol-obj/secure == 2.2.2 [cause-error 'access 'security :policy]
quit/return 101 ; an arbitrary code
]

Expand Down

0 comments on commit d070502

Please sign in to comment.