osbuild-composer: don't try creating state directory
systemd creates it for us. We don't support running this binary outside of systemd.
This commit is contained in:
parent
14ebed46da
commit
70857963bb
1 changed files with 0 additions and 5 deletions
|
|
@ -41,11 +41,6 @@ func main() {
|
|||
logger = log.New(os.Stdout, "", 0)
|
||||
}
|
||||
|
||||
err = os.MkdirAll("/var/lib/osbuild-composer", 0755)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
store := store.New(&stateFile)
|
||||
|
||||
jobAPI := jobqueue.New(logger, store)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue