diff --git a/build_web.sh b/build_web.sh index 1975ab5..3366a17 100755 --- a/build_web.sh +++ b/build_web.sh @@ -4,9 +4,7 @@ echo "-- Preparing WWW files --" [[ -e html ]] && rm -r html -cd front-end -ESP_PROD=1 sh ./build.sh -cd .. +ESP_PROD=1 front-end/build.sh echo "Copying from submodule..." diff --git a/front-end b/front-end index 9db61f0..b2174fc 160000 --- a/front-end +++ b/front-end @@ -1 +1 @@ -Subproject commit 9db61f0c1a0d3b19e62e3913954b28941faedc03 +Subproject commit b2174fc528d2766eb82d1e828d70bb432d4ea949 diff --git a/showmem.php b/showmem.php index d142615..0137910 100755 --- a/showmem.php +++ b/showmem.php @@ -23,7 +23,7 @@ foreach ($pieces as $piece) { } } -if ($argv[1]) { +if (isset($argv[1])) { $key = $argv[1]; uasort($table, function($a, $b) use ($key) { $av = $a[$key] ?? 0;