[Pkg-sysvinit-commits] r341 -
sysvinit/trunk/debian/initscripts/lib/init
Thomas Hood
jdthood-guest at costa.debian.org
Thu Dec 1 16:04:05 UTC 2005
Author: jdthood-guest
Date: 2005-12-01 16:04:04 +0000 (Thu, 01 Dec 2005)
New Revision: 341
Modified:
sysvinit/trunk/debian/initscripts/lib/init/functions.sh
Log:
Use which command in standard way
Modified: sysvinit/trunk/debian/initscripts/lib/init/functions.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/lib/init/functions.sh 2005-12-01 16:03:37 UTC (rev 340)
+++ sysvinit/trunk/debian/initscripts/lib/init/functions.sh 2005-12-01 16:04:04 UTC (rev 341)
@@ -16,5 +16,5 @@
}
selinux_enabled () {
- [ "$(which selinuxenabled)" ] && selinuxenabled
+ which selinuxenabled >/dev/null && selinuxenabled
}
More information about the Pkg-sysvinit-commits
mailing list