From 5c3b342c88baadfa7cfba0646207d8353b5b6a65 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Thu, 25 Nov 2021 12:01:43 -0500 Subject: [PATCH] moved the $bw logout above the remove-variable so it works now. Created new signature --- bitwardenBackup.ps1 | 5 ++--- bitwardenBackup.ps1.sig | Bin 186 -> 186 bytes 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bitwardenBackup.ps1 b/bitwardenBackup.ps1 index 33f0fce..6989a46 100644 --- a/bitwardenBackup.ps1 +++ b/bitwardenBackup.ps1 @@ -145,8 +145,7 @@ if ($zip -or $encrypt) { & $sdelete -p 25 "$PSScriptRoot\$zipFilename" } } -# remove all the variables -Remove-Variable -Name * -ErrorAction SilentlyContinue # logout of bitwaren to ensure the session is destroyed & $bw logout -exit 0 \ No newline at end of file +# remove all the variables +Remove-Variable -Name * -ErrorAction SilentlyContinue \ No newline at end of file diff --git a/bitwardenBackup.ps1.sig b/bitwardenBackup.ps1.sig index 96084c17f8a92f7add8cdce2708b8c4d94e42d8f..7c78064e6f1e2eb4f9ed455d42fdd99443ac5c09 100644 GIT binary patch delta 159 zcmV;Q0AT;R0lEQ@BY(k10162Z7UN1E7dZ-QE`*I zHt~bphj;a!$I`tDFijt;uQ^@_<|6gqOwfdPSo*&)YFhMuop#5=5?mt3gaQcxUJ8`n zf6CoR^$#Gj7|dBMQF`48lSpJOe)h{-8B(b5$3H~HO}rGf(HJrme&7x2-VB@VqvG1t NdbUf05Z(~