From 7f3c5cca46b709cdf528e87ef9492e5110817530 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 19 Jun 2022 18:17:42 +0200 Subject: [PATCH] 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. --- scripts/monitor-session-activity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/monitor-session-activity.sh b/scripts/monitor-session-activity.sh index 5b483dd..010772c 100755 --- a/scripts/monitor-session-activity.sh +++ b/scripts/monitor-session-activity.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash POLL_INTERVAL=10 # seconds