summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-01-27 18:19:32 +0000
committernjl <njl@FreeBSD.org>2004-01-27 18:19:32 +0000
commitb0561e00e3c720de08f0b36b31eff77405d95c8f (patch)
tree7ae94a6fe211ce53718d65059b0ac4b263dd8fcf
parent01e7ffe1468e224ba77b380a8a5de9db1534e644 (diff)
downloadFreeBSD-src-b0561e00e3c720de08f0b36b31eff77405d95c8f.zip
FreeBSD-src-b0561e00e3c720de08f0b36b31eff77405d95c8f.tar.gz
Remove only X[0-9]-lock.
-rwxr-xr-xetc/rc.d/cleartmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/cleartmp b/etc/rc.d/cleartmp
index f51db37..13b480b 100755
--- a/etc/rc.d/cleartmp
+++ b/etc/rc.d/cleartmp
@@ -35,6 +35,6 @@ run_rc_command "$1"
# Remove X lock files, since they will prevent you from
# restarting X
#
-rm -f /tmp/.X*-lock
+rm -f /tmp/.X[0-9]-lock
rm -fr /tmp/.X11-unix
mkdir -m 1777 /tmp/.X11-unix
OpenPOWER on IntegriCloud