1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 18:45:46 +01:00

fuidshift: Checks or explicitly ignores errors.

Signed-off-by: Mark Laing <mark.laing@canonical.com>
This commit is contained in:
Mark Laing
2022-05-17 10:06:01 +01:00
parent 69b6ae9b29
commit b4dbef9d75

View File

@@ -56,7 +56,7 @@ func (c *cmdShift) Run(cmd *cobra.Command, args []string) error {
// Handle mandatory arguments
if len(args) < 2 {
cmd.Help()
_ = cmd.Help()
return fmt.Errorf("Missing required arguments")
}
directory := args[0]