joshsmt has joined #kisslinux
joshsmt has quit [Client Quit]
an3223 has quit [Remote host closed the connection]
pbsds has quit [Ping timeout: 244 seconds]
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
konimex has joined #kisslinux
sereg has quit [Ping timeout: 265 seconds]
chomwitt has joined #kisslinux
an3223 has joined #kisslinux
an3223 has quit [Remote host closed the connection]
an3223 has joined #kisslinux
pbsds has joined #kisslinux
pbsds8 has joined #kisslinux
pbsds has quit [Ping timeout: 268 seconds]
pbsds8 is now known as pbsds
<
testuser[m]>
phoebos:
yamchah2 has quit [Remote host closed the connection]
sereg has joined #kisslinux
yamchah2 has joined #kisslinux
sereg has quit [Max SendQ exceeded]
sereg has joined #kisslinux
<
testuser[m]>
the problem happens when u short circuit the outermost subshell
<
wael[m]>
i believe it happens since there is `||` at the end of the recent subshell the outermost subshell's error is ignored
<
wael[m]>
since `-e` flag is set
<
testuser[m]>
but the code after || doesnt even get executed
<
testuser[m]>
for some reason
<
testuser[m]>
it should
<
testuser[m]>
exit 1 isnt executed
<
wael[m]>
because it exits on error without an error handler
<
testuser[m]>
it doesnt cuz the lowermost unreachable is printed
<
testuser[m]>
this is with set -eu
<
wael[m]>
the last command in the list hasnt returned with non-zero
<
wael[m]>
so its seen as 'non-error' since its subshell
<
testuser[m]>
hmmmmmmmm
<
testuser[m]>
nothing
<
testuser[m]>
the behaviour doesntmake sense
<
testuser[m]>
but its true
<
wael[m]>
try it with symbol { }
<
phoebos>
set -e and || don't play well together
<
phoebos>
i don't understand it tbh
<
testuser[m]>
SO BAD
<
wael[m]>
last time i seen shell scripting be confusing is when i got seg fault
<
testuser[m]>
well i just added || return $? after all the sub-subshells
<
testuser[m]>
seems to work
<
phoebos>
i'm not sure why the exit doesn't run but the false doesn't cause it to exit because it's in an AND-OR list
<
phoebos>
ie. a command failing is always permitted in that context
<
phoebos>
so the false is permitted
<
phoebos>
then the second echo is run
<
phoebos>
which is successful, so the exit 1 doesn't run
<
phoebos>
get rid of echo unreachable and exit 1 runs
rohan has quit [Ping timeout: 265 seconds]
ella-0 has joined #kisslinux
ella-0_ has quit [Ping timeout: 252 seconds]
sereg has quit [Ping timeout: 252 seconds]
<
illiliti>
i just recovered from covid19
<
wael[m]>
HI ILLILITI
<
illiliti>
took a week with a 40 degree fever
<
testuser[m]>
illiliti: hi
<
illiliti>
still feel bad, but better than 2 days ago
<
testuser[m]>
Good to see you back
<
midfavila>
yeah covid isn't great
<
midfavila>
i got it a while back
<
midfavila>
suspect my housemates brought it back, considering I avoid going out as much as possible
<
testuser[m]>
illiliti is the draft situation gonna get any better
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
<
illiliti>
i'm a bit overwhelmed by amount of shit i need to do, so i'll proceeded slowly
<
testuser[m]>
i mean war draft
<
testuser[m]>
not muon lol
<
testuser[m]>
> On Sept. 21, Russia's President Vladimir Putin announced 300,000 men would be drafted to fight in his invasion of Ukraine
<
testuser[m]>
I mean this one
<
illiliti>
no i don't think so
<
illiliti>
it will only get worse
<
illiliti>
cuz putin is losing war
<
testuser[m]>
Sounds crazy to hear such shit happening in this day and age
<
illiliti>
very much expected shit in dictatorship
<
illiliti>
where people have no power at all
<
illiliti>
no elections, no protests, no law
<
illiliti>
nothing is working
<
illiliti>
only precise airstrike at putin's head will work
<
illiliti>
i think it's safe to say that this country is a fail state
<
illiliti>
always have been tbh
<
illiliti>
can you imagine that people here get imprisoned for criticizing the goverment, putin, everything
<
wael[m]>
are you unable to move?
<
illiliti>
and then tortured in that prison
<
wael[m]>
why is that
<
illiliti>
i have reasons
midfavila has quit [Quit: Leaving.]
midfavila has joined #kisslinux
midfavila has quit [Client Quit]
midfavila has joined #kisslinux
midfavila has quit [Client Quit]
midfavila has joined #kisslinux
midfavila has quit [Client Quit]
sad_plan has joined #kisslinux
sad_plan has quit [Quit: nyaa~]
midfavila has joined #kisslinux
an3223 has quit [Remote host closed the connection]
an3223 has joined #kisslinux
midfavila has quit [Remote host closed the connection]
midfavila has joined #kisslinux
chomwitt has quit [Ping timeout: 264 seconds]