commit 9ec290845af903376fc663f0a832c35ba3fbf1e6
parent 23e9889a509b0e8f103cc3b4d3f833607aeffbf8
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Tue, 3 Jul 2018 19:44:10 +0200
Make the OS file readonly, to prevent the "Text file busy" error (executed as a linux shell script + open for writing by another process)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/gui-wrapper.sh b/utils/gui-wrapper.sh
@@ -5,7 +5,7 @@ set -e
resolution="$1" # e.g. 800x600x24 (width x height x bits_per_pixel)
shift # the following arguments are the program to execute and its arguments
-bg="$(mktemp --suffix='bg.png')"
+bg="$(mktemp --suffix='.png')"
fb_cfg="$(mktemp --suffix='fluxbox.cfg')"
# Create solid black background