Fix bash path for non-FHS systems

NixOS uses a file system hierarchy that is incompatible with paths such
as /bin and /usr/bin.

/usr/bin/env however is supported by NixOS and is able to interpret the
PATH.
This commit is contained in:
Johan Andersson 2022-06-19 18:17:42 +02:00
parent 9a8e30f196
commit 7f3c5cca46

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
POLL_INTERVAL=10 # seconds