ezsystems / launchpad

CLI tool to bootstrap an eZ Platform project Docker stack | #justcode
https://ezsystems.github.io/launchpad
MIT License
22 stars 27 forks source link

Error on "defaults" command execution in Ubuntu #73

Closed xserna closed 4 years ago

xserna commented 4 years ago

This line is causing 2 issues here (Ubuntu 16.04):

https://github.com/ezsystems/launchpad/blob/dd886451bc63cc5bf5bb5977d990d694ab86604d/src/functions.php#L46

Don't know if in modern Ubuntu releases is also happening.

Thanks!

Plopix commented 4 years ago

Is that an error or a warning? I can add @ to remove that warning I guess. I will look into it. Thanks for reporting @xserna !

xserna commented 4 years ago

It's the output of the command, in the stderr channel:

$ defaults read loginwindow SystemVersionStampAsString defaults read: couldn't read default

$ echo $? 2

So I believe that's an error message, I'm right?

Thanks!

Plopix commented 4 years ago

yes right, I was trying to identify the level of emergency on that one. If it breaks a build or something. I will fix that asap!

xserna commented 4 years ago

Great that you can fix it soon, for us there is no emergency, the only thing is that annoying message in console, but don't know for other people out there 🙂

Thanks!

Plopix commented 4 years ago

when all this is green, you can update to 1.4.5 https://travis-ci.org/ezsystems/launchpad/builds/617883047 !

I am closing! fix is here: https://github.com/ezsystems/launchpad/commit/5ad8293a2e15944bda69eb82e8daf781e02cc527

Thanks @xserna !