Skip to content

Mission 19 #158

@Pilpin

Description

@Pilpin

Hello, my brother was stuck on mission 19, whatever he typed, including the right command flarigo & flarigo & flarigo & the mission was not a success, so we decided to have a look at the code and wonder why the check.sh file deletes the flarigo.pids file on line 8 when it is used later on line 14

https://github.com/phyver/GameShell/blob/master/missions/intermediate/05_background/check.sh

command="$(gettext 'flarigo')"

PIDS=$GSH_TMP/flarigo.pids

_check() {
    rm -f "$PIDS" # <-- here

    echo "$(gettext "Let's have a look:")"

    sleep 2

    if [ ! -f "$PIDS" ]
    then
        echo "$(gettext "Mmm... I didn't see anything.")"
        echo
        echo "$(gettext "NOTE: you need to make sure the pyrotechnician sees all the fireworks while he is waiting.")"
        return 1
    fi

Thanks for letting us know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions