New upstream version 2018.1

This commit is contained in:
Simon McVittie committed 2018-01-17 12:13:15 +00:00
commit e91328b9e9
64 files changed
+1078 -363

No files matched your search

+9 -3
View File
@@ -102,10 +102,16 @@ main(int argc, char *argv[])
struct stat stbuf;
int we_mounted_proc = 0;
if (argc < 2)
root_arg = "/";
if (getpid() == 1)
{
root_arg = "/";
}
else
root_arg = argv[1];
{
if (argc < 2)
err (EXIT_FAILURE, "usage: ostree-prepare-root SYSROOT");
root_arg = argv[1];
}
if (stat ("/proc/cmdline", &stbuf) < 0)
{