From ec6c924f8791926693a515524b27eb805be50f63 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 21 Nov 2009 23:20:29 +0100 Subject: Remove check_com function --- etc/functions/put | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/functions/put') diff --git a/etc/functions/put b/etc/functions/put index 40e73bd..bf512c1 100644 --- a/etc/functions/put +++ b/etc/functions/put @@ -11,7 +11,7 @@ typeset target_dir server_prefix typeset file remote_file illegal typeset -i n_hosts n_ping n_curl -if ! check_com curl; then +if [[ -z $commands[curl] ]]; then function curl {return 0} warn "curl not present, won't be able to check upload success" fi -- cgit v1.2.3