diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 13:50:59 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 13:50:59 +0100 |
| commit | 5593186c998c3f63c7abadd3eaa97e55004fc182 (patch) | |
| tree | 29a236c52d30257ea67d933fbd7bdf14bc400258 /gotrc-examples/revoke-access | |
| parent | Fix issue-file example, it stopped working (diff) | |
| download | gates-of-tartaros-5593186c998c3f63c7abadd3eaa97e55004fc182.tar.gz gates-of-tartaros-5593186c998c3f63c7abadd3eaa97e55004fc182.tar.bz2 gates-of-tartaros-5593186c998c3f63c7abadd3eaa97e55004fc182.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | gotrc-examples/revoke-access | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gotrc-examples/revoke-access b/gotrc-examples/revoke-access index e79b9fc..77558c6 100644 --- a/gotrc-examples/revoke-access +++ b/gotrc-examples/revoke-access @@ -2,7 +2,7 @@ # gates-of-tartaros – Minimal replacement for agetty with SSH support # -# Copyright © 2013, 2014, 2015 Mattias Andrée (maandree@member.fsf.org) +# Copyright © 2013, 2014, 2015 Mattias Andrée (m@maandree.se) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -25,10 +25,8 @@ display_function_revoke_access=$display_function display_function=_display_revoke_access -_display_revoke_access () -{ - chmod 640 "$(tty)" - chown 0:0 "$(tty)" - $display_function_revoke_access +_display_revoke_access () { + chmod 640 "$(tty)" + chown 0:0 "$(tty)" + $display_function_revoke_access } - |
