Merge pull request #114 from gmkurtzer/overlay_chown
Added overlay chown subcommand
This commit is contained in:
@@ -16,9 +16,9 @@ import (
|
||||
func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
var overlaySourceDir string
|
||||
overlayName := args[0]
|
||||
fileName := args[2]
|
||||
fileName := args[1]
|
||||
|
||||
permissionMode, err := strconv.ParseInt(args[1], 8, 32)
|
||||
permissionMode, err := strconv.ParseInt(args[2], 8, 32)
|
||||
if err != nil {
|
||||
wwlog.Printf(wwlog.ERROR, "Could not convert requested mode: %s\n", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user