98_update.pm: fix of the fix (Forum #137382)

git-svn-id: https://svn.fhem.de/fhem/trunk@28625 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2024-03-09 09:25:09 +00:00
parent 51db59e727
commit bd86ddca52

View File

@@ -80,7 +80,7 @@ CommandUpdate($$)
$updateInBackground = AttrVal("global","updateInBackground",1); $updateInBackground = AttrVal("global","updateInBackground",1);
if($arg =~ m/^(check|checktime|all|force)$/i) { if($arg =~ m/^(check|checktime|all|force)$/i) {
$arg = lc($arg); $arg = lc($arg);
$updateInBackground = 0; $updateInBackground = 0 if($arg ne "all");
} }
$updArg = $arg; $updArg = $arg;