Skip to content
Snippets Groups Projects
Select Git revision
  • 0x4A6F-rpi4
  • 0x4A6F-master
  • master
  • v2018.2.2-ffs
  • v2018.2.x default protected
  • v2016.2.4-batmanbug
  • radv-filterd
  • v2016.2.x
  • hoodselector
  • v2016.1.x
  • babel
  • v2015.1.x
  • 2014.4.x
  • 2014.3.x
  • v2018.2.2-ffs0.1
  • v2018.2.1-ffs0.1
  • v2018.2.1
  • v2018.2-ffs0.1
  • v2018.2
  • v2018.1.4
  • v2018.1.3
  • v2018.1.2
  • v2018.1.1
  • v2018.1
  • v2017.1.8
  • v2017.1.7
  • v2017.1.6
  • v2017.1.5
  • v2017.1.4
  • v2017.1.3
  • v2017.1.2
  • v2016.2.7
  • v2017.1.1
  • v2017.1
34 results

site.sh

Forked from firmware / FFS Gluon
Source project has a limited visibility.
  • Daniel Ehlers's avatar
    bd28aa99
    Return exit code on missing value · bd28aa99
    Daniel Ehlers authored
    Let the site configuration value script return 1 when
    the requested value is not available.This enables us
    to react on failures, so we can for example use a default
    value.
    
    With this patch the script will return with exitcode 1 if
    the value is not found and no output on stdout. Otherwise
    exitcode is 0 and the value is returned on stdout.
    bd28aa99
    History
    Return exit code on missing value
    Daniel Ehlers authored
    Let the site configuration value script return 1 when
    the requested value is not available.This enables us
    to react on failures, so we can for example use a default
    value.
    
    With this patch the script will return with exitcode 1 if
    the value is not found and no output on stdout. Otherwise
    exitcode is 0 and the value is returned on stdout.