diff options
author | Atapi | 2024-04-12 01:20:18 -0600 |
---|---|---|
committer | Atapi | 2024-04-12 01:20:18 -0600 |
commit | 1e1e99223159e1073f0f4ea5e6aea3ac6068fe63 (patch) | |
tree | 9acd4d8360ef793b2501b0244741db8c0634a6ba | |
parent | acca1b7f022b2f09de17d58f02509b8147686b33 (diff) | |
download | aur-1e1e99223159e1073f0f4ea5e6aea3ac6068fe63.tar.gz |
fix halt on no args
-rwxr-xr-x | sappy2006 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sappy2006 b/sappy2006 index a0206621fbd5..c3060337ebef 100755 --- a/sappy2006 +++ b/sappy2006 @@ -44,4 +44,5 @@ else echo "" fi -wine $SAPPYDIR/sappy.exe "$(winepath -w "$1")" +[[ "$1" == "" ]] && wine $SAPPYDIR/sappy.exe # no args +[[ "$1" != "" ]] && wine $SAPPYDIR/sappy.exe "$(winepath -w "$1")" # args |