diff --git a/Sources/XToolSupport/UninstallCommand.swift b/Sources/XToolSupport/UninstallCommand.swift index 2bdbc5be..fd3c6572 100644 --- a/Sources/XToolSupport/UninstallCommand.swift +++ b/Sources/XToolSupport/UninstallCommand.swift @@ -25,7 +25,7 @@ struct UninstallCommand: AsyncParsableCommand { ) } catch { print("Failed: \(error)") - return + throw ExitCode.failure } print("Success!") }