Commit 3827ba7c authored by Holger Levsen's avatar Holger Levsen
Browse files

happy 2023, update real year to be able to detect whether a node runs in future

parent 64841ce1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
#!/bin/bash
# vim: set noexpandtab:

# Copyright 2014-2022 Holger Levsen <holger@layer-acht.org>
# Copyright 2014-2023 Holger Levsen <holger@layer-acht.org>
#         © 2015-2018 Mattia Rizzolo <mattia@mapreri.org>
# released under the GPLv2

@@ -95,7 +95,7 @@ fi
# (XXX: yes this is hardcoded but meh…)
echo "$(date -u) - testing whether the time is right..."
get_node_information "$HOSTNAME"
real_year=2022
real_year=2023
year=$(date +%Y)
if "$NODE_RUN_IN_THE_FUTURE"; then
	if [ "$year" -eq "$real_year" ]; then