From 819984d43c7526bdeb2501f199059e0fd1cddfff Mon Sep 17 00:00:00 2001 From: LTSP Debian Maintainers Date: Wed, 1 Apr 2015 00:54:20 +0100 Subject: [PATCH] use-test-binary ## use-test-binary.dpatch by Vagrant Cascadian ## ## DP: use /usr/bin/test instead of relying on the shell test builtin, as bash ## DP: and dash behave inconsistantly. works around ## DP: http://bugs.debian.org/539909 Gbp-Pq: Name use-test-binary --- client/share/ltsp/init-ltsp.d/50-cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/share/ltsp/init-ltsp.d/50-cron b/client/share/ltsp/init-ltsp.d/50-cron index 2a49590..c9de757 100644 --- a/client/share/ltsp/init-ltsp.d/50-cron +++ b/client/share/ltsp/init-ltsp.d/50-cron @@ -1,5 +1,5 @@ CRON_FILE=/etc/cron.d/ltsp -if [ ! -w "/etc/cron.d" ]; then +if ! /usr/bin/test -w "/etc/cron.d" ; then echo "Warning: /etc/cron.d is not writeable." return 1 fi -- 2.30.2