added OLD_HOME variable pointing to HOME before sudo
authorChris Koeritz <cak0l@virginia.edu>
Wed, 29 Sep 2021 20:08:28 +0000 (16:08 -0400)
committerChris Koeritz <cak0l@virginia.edu>
Wed, 29 Sep 2021 20:08:28 +0000 (16:08 -0400)
commitfe82c8a4d06fcb3c284310ccc585ea6ad4d5230a
tree29be49acfba02e08b661d3628919a6a51a5b4f6d
parent092bb1f6c64b3caf3d9b36577d0900fdf6c2af26
added OLD_HOME variable pointing to HOME before sudo

makes it a bit easier to get back to the "real" user's home dir who started the sudo.
scripts/core/functions.sh