Skip to content
Snippets Groups Projects
Commit b9ebbac5 authored by ale's avatar ale
Browse files

Check the confirmation option in wipe-mailbox

parent a6d42587
No related branches found
No related tags found
1 merge request!249Add 'wipe-mailbox' action to the queue system
Pipeline #72759 passed
......@@ -28,6 +28,11 @@ if [ -z "${mailbox}" ]; then
exit 2
fi
if [ $confirm -ne 1 ]; then
echo "You did not pass the confirmation option --yes-i-am-sure!" >&2
exit 1
fi
set -euo pipefail
# Get the list of mailboxes in an array.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment