Startscript not passing command line arguments

Bug #1847883 reported by Rene Schickbauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glhack (Ubuntu)
New
Undecided
Unassigned

Bug Description

The startscript /usr/games/glhack is not passing the command line arguments to the executable.

The script currently reads:

#!/bin/sh

exec /usr/lib/games/glhack/glhack

but it should be:

#!/bin/sh

exec /usr/lib/games/glhack/glhack "$@"

Then all those command line options so highly promised in the man page actually work ;-)

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: glhack 1.2-4 [modified: usr/games/glhack var/games/glhack/logfile var/games/glhack/record]
ProcVersionSignature: Ubuntu 5.0.0-31.33~18.04.1-generic 5.0.21
Uname: Linux 5.0.0-31-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Oct 13 00:07:59 2019
InstallationDate: Installed on 2019-08-13 (60 days ago)
InstallationMedia: Xubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
SourcePackage: glhack
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rene Schickbauer (rene-schickbauer) wrote :
Revision history for this message
Rene Schickbauer (rene-schickbauer) wrote :

The game, by default (without command line options), starts fullscreen in 800x600. This turns off my left and right monitor and makes my central monitor complain about the rather outdated resolution.

The ability to pass the "--windowed" command line option this program didn't work very well on my computer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.