Originally posted by mudskipper
					
						
						
							
							
							
							
								
								
								
								
									View Post
								
							
						
					
				
				
			
		 
					 
					
~$ cat doh
#! /bin/bash
set -u
rm "${foo}/${bar}"
~$ ./doh
./doh: line 3: foo: unbound variable
~$ cat duh
#! /bin/bash
rm "${foo:?}/${bar:?}"
~$ ./duh
./duh: line 2: foo: parameter null or not set

 
					 https://github.com/systemd/systemd/issues/2402
 https://github.com/systemd/systemd/issues/2402 https://github.com/systemd/systemd/issues/2402
 https://github.com/systemd/systemd/issues/2402
					 The fact that the poor idiot didn't think it was a good idea to have his backup directories unmounted when not in use just compounds the misery.
 The fact that the poor idiot didn't think it was a good idea to have his backup directories unmounted when not in use just compounds the misery. 

Leave a comment: