diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/hackvr | 11 | 
1 files changed, 6 insertions, 5 deletions
| @@ -1,9 +1,10 @@ -#!/bin/sh +#!/usr/bin/env bash +set -eo pipefail  if [ "_$HACKVR" != "_" -a "_$HACKVR" != "_$0" ];then - exec $HACKVR $* + exec "$HACKVR" "$@"  fi -if [ $DISPLAY ]; then - exec hackvr_x11 $* +if [ "$DISPLAY" ]; then + exec hackvr_x11 "$@"  else - exec hackvr_fb $* + exec hackvr_fb "$@"  fi | 
