mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-28 19:27:53 -04:00
script(move) -euo
pipefail to debug arg (#175)
apparently this is causing issues, its used mostly for error handling as part of my debugging so we can just move it here
This commit is contained in:
parent
721dfef42a
commit
8c2bfea5c0
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
# Configuration
|
||||
INSTALLER_PATH="$HOME/.equilotl"
|
||||
|
@ -17,6 +16,7 @@ NC='\033[0m' # No Color
|
|||
# Debug logging
|
||||
debug_log() {
|
||||
if $DEBUG; then
|
||||
set -euo pipefail
|
||||
local timestamp
|
||||
timestamp=$(date +"%Y-%m-%d %T")
|
||||
echo -e "[$timestamp] $1" | tee -a "$LOG_FILE"
|
||||
|
|
Loading…
Add table
Reference in a new issue