--- /etc/init.d/screen-cleanup.orig 2005-02-21 14:46:54.876105340 +0100 +++ /etc/init.d/screen-cleanup 2005-02-21 14:47:59.879440504 +0100 @@ -11,10 +11,12 @@ case "$1" in start) - if find $SCREENDIR -type p | grep '^' >/dev/null; then - log_begin_msg 'Cleaning up stale screen sessions... ' - find $SCREENDIR -type p -print0 | xargs -0 rm -f - log_end_msg $? + if [ -e $SCREENDIR ]; then + if find $SCREENDIR -type p | grep '^' >/dev/null; then + log_begin_msg 'Cleaning up stale screen sessions... ' + find $SCREENDIR -type p -print0 | xargs -0 rm -f + log_end_msg $? + fi fi ;; stop|restart|reload|force-reload)