From 67e46076bfe59bbbf22f5e0f0cad898459dd5478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Mon, 1 Jul 2024 12:42:47 +0000 Subject: [PATCH] fix: accountFreeze: restore json results --- bin/plugin/restricted/accountFreeze | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/plugin/restricted/accountFreeze b/bin/plugin/restricted/accountFreeze index 17a8d9913..ee7a8fed0 100755 --- a/bin/plugin/restricted/accountFreeze +++ b/bin/plugin/restricted/accountFreeze @@ -59,4 +59,7 @@ osh_info("\nTerminating sessions if any..."); push @command, $OVH::Bastion::BASEPATH . '/bin/helper/osh-accountKillSessions'; push @command, ('--account', $account); -osh_exit(OVH::Bastion::helper(cmd => \@command)); +# don't check result for this, our behaviour doesn't depend on it +OVH::Bastion::helper(cmd => \@command); + +osh_exit($fnret);