projects
/
grml-scripts-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e6d6fc4
)
grml-screen: move lockfile to /var/lock where it belongs
author
Michael Gebetsroither
<michael@mgeb.org>
Sun, 7 Nov 2010 08:37:29 +0000
(09:37 +0100)
committer
Michael Gebetsroither
<michael@mgeb.org>
Mon, 8 Nov 2010 13:43:20 +0000
(14:43 +0100)
usr_bin/grml-screen
patch
|
blob
|
history
diff --git
a/usr_bin/grml-screen
b/usr_bin/grml-screen
index
73bdea9
..
4a9a33e
100755
(executable)
--- a/
usr_bin/grml-screen
+++ b/
usr_bin/grml-screen
@@
-15,7
+15,7
@@
sudo chown $USER.tty $TTY
# FIXME: fix for screen race-conditions
sudo chown $USER.tty $TTY
# FIXME: fix for screen race-conditions
-PID_FILE_="/var/
run
/grml-screen"
+PID_FILE_="/var/
lock
/grml-screen"
PID_FILE_CREATED_="false"
MY_PID_="$$"
if [ ! -d "/var/run/screen/S-$USER" ]; then
PID_FILE_CREATED_="false"
MY_PID_="$$"
if [ ! -d "/var/run/screen/S-$USER" ]; then