diff --git a/src/cmds/restic/cmd_cat.go b/src/cmds/restic/cmd_cat.go index 94d2ee023..4e52848da 100644 --- a/src/cmds/restic/cmd_cat.go +++ b/src/cmds/restic/cmd_cat.go @@ -53,7 +53,7 @@ func (cmd CmdCat) Execute(args []string) error { id, err = backend.ParseID(args[1]) if err != nil { if tpe != "snapshot" { - return err + return restic.Fatalf("unable to parse ID: %v\n", err) } // find snapshot id with prefix