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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user