fixed linting

This commit is contained in:
Christian Goll
2022-03-10 12:48:50 +01:00
committed by Christian Goll
parent db2dcbfbe2
commit 2567246067

View File

@@ -96,7 +96,10 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
}
wwlog.Printf(wwlog.DEBUG, "group: %v\n", time.Unix(int64(unixStat.Ctim.Sec), int64(unixStat.Ctim.Nsec)))
if syncuids && !NoSyncUser {
container.SyncUids(containerName, true)
err = container.SyncUids(containerName, true)
if err != nil {
wwlog.Printf(wwlog.ERROR, "Error in user sync, fix error and run 'syncuser' manually, but trying to build container: %s\n", err)
}
}
fmt.Printf("Rebuilding container...\n")