diff options
author | Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> | 2007-09-25 03:22:39 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2011-09-03 14:05:32 +0200 |
commit | 1df16381394692fe55af6b3c8d928250c6bbad3f (patch) | |
tree | 892af0ea480faa09587491af2820af2961643260 /debian/init | |
parent | 0512143582b31866db6dec01586416eb8080a463 (diff) | |
download | screen-1df16381394692fe55af6b3c8d928250c6bbad3f.tar.gz |
Imported Debian patch 4.0.3-7debian/4.0.3-7
Diffstat (limited to 'debian/init')
-rw-r--r-- | debian/init | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/init b/debian/init index ff7de01..c1d04b2 100644 --- a/debian/init +++ b/debian/init @@ -15,12 +15,11 @@ set -e -SCREENDIR=/tmp/.screen +SCREENDIR=/var/run/screen case "$1" in start) - rm -rf /var/run/screen - if ! test -d $SCREENDIR; then + if test -L $SCREENDIR || ! test -d $SCREENDIR; then rm -f $SCREENDIR mkdir $SCREENDIR chown root:utmp $SCREENDIR |