diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2012-02-20 01:52:35 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2012-02-20 01:59:01 +0100 |
commit | 2dc004d5904f8f9a406b2a8e8f90c750a678f383 (patch) | |
tree | b2f92fe280ff1d2ab3ff37c6c12b9a6b642ed5fe /debian/init | |
parent | 675bf5188df35a8f36e4b50ca407de32e23ee83b (diff) | |
download | screen-2dc004d5904f8f9a406b2a8e8f90c750a678f383.tar.gz |
debian/init: Use find -delete rather than find -print0 | xargs rm
Avoids starting two processes. Taken from Ubuntu's screen package.
Diffstat (limited to 'debian/init')
-rw-r--r-- | debian/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/init b/debian/init index 22ab274..0d8cdc1 100644 --- a/debian/init +++ b/debian/init @@ -28,7 +28,7 @@ start) mkdir $SCREENDIR chown root:utmp $SCREENDIR fi - find $SCREENDIR -type p -print0 | xargs -0r rm -f -- + find $SCREENDIR -type p -delete # If the local admin has used dpkg-statoverride to install the screen # binary with different set[ug]id bits, change the permissions of # $SCREENDIR accordingly |