From 1736be3bc3ebbc1440f87b49fc353e81fb0a6037 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Fri, 10 Jul 2015 13:24:10 -0400 Subject: [PATCH] savecache: Fix unable to create cache message The cache is created in $RC_LIBEXECDIR, not $RC_SVCDIR, so fix the error message when we fail to create it to match. --- init.d/savecache.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/savecache.in b/init.d/savecache.in index ddd58d7e..e185e5a4 100644 --- a/init.d/savecache.in +++ b/init.d/savecache.in @@ -30,7 +30,7 @@ start() if yesno "${RC_GOINGDOWN}"; then rc=0 fi - eend $rc "Unable to create $RC_SVCDIR/cache" + eend $rc "Unable to create $RC_LIBEXECDIR/cache" return $rc fi fi