Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
rcscripts: Only pass the basename of file to service(8)
Collin Funk committed 2 years ago
commit accec28035ec55b16e951cdde3b8de99c7ee111e
parent 90644560394528e55877eeaafc926810bb95469b
1 file changed +2 -2
modified libpkg/rcscripts.c
@@ -67,10 +67,10 @@ pkg_start_stop_rc_scripts(struct pkg *pkg, pkg_rc_attr attr)
			rc++;
			switch (attr) {
			case PKG_RC_START:
-
				ret += rc_start(rcfile);
+
				ret += rc_start(rc);
				break;
			case PKG_RC_STOP:
-
				ret += rc_stop(rcfile);
+
				ret += rc_stop(rc);
				break;
			}
		}