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 / +5 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\n");
1117
		exit(EXIT_FAILURE);
1118
	}
1119
1115
	if (stat(argv[1], &stbuf) != 0) {
1120
	if (stat(argv[1], &stbuf) != 0) {
1116
		fprintf(stderr, "runscript `%s': %s\n",
1121
		fprintf(stderr, "runscript `%s': %s\n",
1117
		    argv[1], strerror(errno));
1122
		    argv[1], strerror(errno));
1118
- 

Return to bug 364159