mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #578] [MERGED] fix: dont return status code 1 if unlock-home.sh is already linked #585
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#585
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ovh/the-bastion/pull/578
Author: @jon4hz
Created: 9/4/2025
Status: ✅ Merged
Merged: 9/5/2025
Merged by: @speed47
Base:
master← Head:fix-encryption-exit-code📝 Commits (1)
522e429fix: dont return status code 1 if unlock-home.sh is already linked📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
bin/admin/setup-encryption.sh(+3 -1)📄 Description
I'm not exactly sure how I got into this situation, but I managed to have this symlink in place, without having my disk encrypted (probably due to some testings I did).
At the moment, the script will always exit with status
1, if that symlink already exists. In my opinion, it should still exit with0, but simply skip thelncommand if the link already exists.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.