self-update: clarify some error messages (2)
This commit is contained in:
parent
021f8dce0c
commit
f7c2fae1f1
|
@ -272,7 +272,7 @@
|
||||||
_debug("Target version: $target_version");
|
_debug("Target version: $target_version");
|
||||||
|
|
||||||
if (version_compare(VERSION, $target_version) != -1 && !in_array("-force", $op)) {
|
if (version_compare(VERSION, $target_version) != -1 && !in_array("-force", $op)) {
|
||||||
_debug("You are on a latest version. Update not needed.");
|
_debug("You are on the latest version. Update not needed.");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
if (file_exists($target_dir)) {
|
if (file_exists($target_dir)) {
|
||||||
|
|
Loading…
Reference in New Issue