Add suid and sudo to bridge

This commit is contained in:
Andrea Cardaci 2021-01-17 23:25:31 +01:00 committed by GitHub
parent 629501ccc7
commit f7ff2ea852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,16 @@
--- ---
description: Outputs the first line of the file (until the first whitespace) inside an error message to stdandard error.
functions: functions:
file-read: file-read:
- description: Outputs the first line of the file (until the first whitespace) inside an error message to stdandard error. - code: |
code: |
LFILE=file_to_read LFILE=file_to_read
bridge -b "$LFILE" bridge -b "$LFILE"
suid:
- code: |
LFILE=file_to_read
./bridge -b "$LFILE"
sudo:
- code: |
LFILE=file_to_read
sudo bridge -b "$LFILE"
--- ---