Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
WineGUI
WineGUI
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Melroy van den Berg
  • WineGUIWineGUI
  • Issues
  • #14

Closed
Open
Opened Jan 26, 2020 by Melroy van den Berg@melroyMaintainer

[Winetricks] Bug regarding setting virtual desktop causing non-zero exit code

I think this code in winetricks causes issues with returning non-zero when changing the resolution (vd = Virtual Desktop), while the resolution change actually went OK.

In winetricks script:

        # Hack..
        if test "$cmd" = vd; then
            load_vd "$arg"
            _W_status=$?
            test "$W_OPT_NOCLEAN" = 1 || rm -rf "$W_TMP"
            mkdir -p "$W_TMP"
            return $_W_status
        fi

So load_vd actually doesn't return any exit code... I do not know what _W_status=$? is doing. But I think this is the exit code of the test command (part of the if statement).

Edited Jan 27, 2020 by Melroy van den Berg
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: melroy/winegui#14