Hi I'm still pretty new to Linux I had a problem with an update the other day the Linux firmware update failed which was a i corrected that and update worked after my fix, but a strange thing has happened since then, my terminal window just closes when I run script that has an error in it - I'm still not sure why its doing this.
If I ran this script it closes, which is odd. I have tested this script using a live usb and it tells me find.sh is missing.
Edit: Found the problem seems set -e had been added to .bashrc for some reason found it by typing bash -lx 8)
If I ran this script it closes, which is odd. I have tested this script using a live usb and it tells me find.sh is missing.
Code:
#!/bin/bash
. ./nothing/to/find.sh
Edit: Found the problem seems set -e had been added to .bashrc for some reason found it by typing bash -lx 8)