Skip to content

Commit

Permalink
connect the unlock-home command to main
Browse files Browse the repository at this point in the history
  • Loading branch information
muhdsalm committed Aug 19, 2024
1 parent 5ac75d3 commit 4ad333d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/unlock-var.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (e *VarInvalidError) Error() string {
type NotEncryptedError struct{}

func (e *NotEncryptedError) Error() string {
return "the var partition is not encrypted"
return "the partition is not encrypted"
}

func NewUnlockVarCommand() *cmdr.Command {
Expand Down
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func main() {
unlockVar := cmd.NewUnlockVarCommand()
root.AddCommand(unlockVar)

unlockHome := cmd.NewUnlockHomeCommand()
root.AddCommand(unlockHome)

mntSys := cmd.NewMountSysCommand()
root.AddCommand(mntSys)

Expand Down

0 comments on commit 4ad333d

Please sign in to comment.