[arch-commits] Commit in vsftpd/trunk (PKGBUILD vsftpd.d)

Paul Mattal paul at archlinux.org
Sun Mar 7 20:58:34 UTC 2010


    Date: Sunday, March 7, 2010 @ 15:58:34
  Author: paul
Revision: 71596

fixed startup script to properly reflect successful start at boot per FS#17866

Modified:
  vsftpd/trunk/PKGBUILD
  vsftpd/trunk/vsftpd.d

----------+
 PKGBUILD |    4 ++--
 vsftpd.d |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-03-07 20:31:00 UTC (rev 71595)
+++ PKGBUILD	2010-03-07 20:58:34 UTC (rev 71596)
@@ -4,7 +4,7 @@
 
 pkgname=vsftpd
 pkgver=2.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Very Secure FTP daemon"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -17,7 +17,7 @@
         vsftpd.xinetd vsftpd.d)
 md5sums=('6d6bc136af14c23f8fef6f1a51f55418'
          'b07fd4609c70063c1d6b20142910c1a6'
-         'e46ed8e4c4a6e6a3de59f60b98e4f569')
+         '5cf6effd8b1603fa809eadf11bd696bd')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}

Modified: vsftpd.d
===================================================================
--- vsftpd.d	2010-03-07 20:31:00 UTC (rev 71595)
+++ vsftpd.d	2010-03-07 20:58:34 UTC (rev 71596)
@@ -9,8 +9,7 @@
 		stat_busy "Starting vsftpd FTP Daemon"
 		if [ -z "$PID" ]; then 
 			/usr/sbin/vsftpd &
-			PID=`pidof -o %PPID /usr/sbin/vsftpd`
-			if [ -z $PID ]; then
+			if [ $? -gt 0 ]; then
 				stat_fail
 			else
 				add_daemon vsftpd




More information about the arch-commits mailing list