• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Add missing early return when authorization denied (gdiff, 3b273d0)

Created 9/27/2007, updated 3/5/2024
  • snippets

Abort early if authorization is denied.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Locate installer-tool as normal resource (gdiff, 5d40d99)
Additional check in current-user installation method (gdiff, ddf9172) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).