From b507ac1f98e135d9eb85cba4297f02b10ccc3217 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 25 Dec 2017 15:18:12 -0800 Subject: util/dcp - argument warning when arguments are correct --- util/dcp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/dcp') diff --git a/util/dcp b/util/dcp index 2817ad4f1..677882193 100755 --- a/util/dcp +++ b/util/dcp @@ -14,7 +14,7 @@ require_once('include/attach.php'); cli_startup(); -if($argc <= 3) { +if($argc < 3) { echo "Usage: " . $argv[0] . ' src dstdir' . "\n"; echo 'Always run from the toplevel web directory.' . "\n"; echo 'destination should begin with store/$nickname/desired/path or $nickname/desired/path' . "\n"; -- cgit v1.2.3