Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 364159 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/rc/runscript.c (-1 / +7 lines)
Lines 1112-1117 runscript(int argc, char **argv) Link Here
1112
		exit(EXIT_FAILURE);
1112
		exit(EXIT_FAILURE);
1113
	}
1113
	}
1114
1114
1115
	if (!exists(RC_SVCDIR "/softlevel")) {
1116
		fprintf(stderr, "OpenRC is not running. Running the script may result in unexpected\n"
1117
				"behavior. If you'd like to force doing so, please run:\n"
1118
				"\ttouch " RC_SVCDIR "/softlevel\n");
1119
		exit(EXIT_FAILURE);
1120
	}
1121
1115
	if (stat(argv[1], &stbuf) != 0) {
1122
	if (stat(argv[1], &stbuf) != 0) {
1116
		fprintf(stderr, "runscript `%s': %s\n",
1123
		fprintf(stderr, "runscript `%s': %s\n",
1117
		    argv[1], strerror(errno));
1124
		    argv[1], strerror(errno));
1118
- 

Return to bug 364159