aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples/revoke-access
diff options
context:
space:
mode:
Diffstat (limited to 'gotrc-examples/revoke-access')
-rw-r--r--gotrc-examples/revoke-access12
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
}
-