mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-06 18:40:40 +00:00
unlock on error and named arrays for config
This commit is contained in:
@@ -26,7 +26,7 @@ var upgradeCmd = &cobra.Command{
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
noRestic, _ := cmd.Flags().GetBool("no-restic")
|
||||
err := bins.Upgrade(!noRestic)
|
||||
cobra.CheckErr(err)
|
||||
CheckErr(err)
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user