Skip to content

Commit 3e6c295

Browse files
committed
Remove issourced check from error
1 parent 1cf1c84 commit 3e6c295

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/lib.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ log() {
123123
# error prints an error message and returns an error exit code.
124124
error() {
125125
log "ERROR: $*"
126-
if issourced; then
127-
return 1
128-
fi
129126
exit 1
130127
}
131128

0 commit comments

Comments
 (0)