From 66f83da1e4a4fcf7a8a8fa12972007034b0ec8d3 Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Mon, 24 Jan 2022 15:02:00 +0100 Subject: [PATCH] fix: make reboot.sh honor nixops flags --- bin/reboot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/reboot.sh b/bin/reboot.sh index 854165c..edd18a6 100755 --- a/bin/reboot.sh +++ b/bin/reboot.sh @@ -7,4 +7,6 @@ if [ $# = 0 ]; then exit 1 fi -nixops reboot -d $1 +d=$1 +shift +nixops reboot -d $d $*