summaryrefslogtreecommitdiff
path: root/sh/runscript.sh.in
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-01-28 19:32:05 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-01-28 19:32:05 +0100
commitfb4aa20d053d055a83cf25f07f4185ea79cb7b30 (patch)
treed216ae2f78e6830c6f02d334ef02cc2b90099b06 /sh/runscript.sh.in
parent5a8344a3d1068b2a7b24bf88f9a2882475b2a5ae (diff)
downloadopenrc-fb4aa20d053d055a83cf25f07f4185ea79cb7b30.tar.gz
openrc-fb4aa20d053d055a83cf25f07f4185ea79cb7b30.tar.bz2
openrc-fb4aa20d053d055a83cf25f07f4185ea79cb7b30.tar.xz
Use "checkpath -W" instead of dir_writable()
Diffstat (limited to 'sh/runscript.sh.in')
-rw-r--r--sh/runscript.sh.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index faa85cc..18bf4c3 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -4,11 +4,6 @@
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
-dir_writable()
-{
- mkdir "$1"/.test.$$ 2>/dev/null && rmdir "$1"/.test.$$
-}
-
sourcex()
{
if [ "$1" = "-e" ]; then