Skip to content

Commit 4a6a8d9

Browse files
committed
Changed CheckTypeError().
1 parent cc7163e commit 4a6a8d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#### Variables
3434
########################################################################
3535
# Versioning
36-
version="Version: 01.00-18, Script Date: 2022.06.15"
36+
version="Version: 01.00-19, Script Date: 2022.06.21"
3737
#md5_sum=$(md5sum $sname | sed 's/system.*//g' )
3838
arg1=$1
3939
arg2=$2
@@ -173,7 +173,7 @@ function CheckArgs()
173173
}
174174

175175
function CheckTypeError() {
176-
sudu type -a type > /dev/null 2>&1
176+
sudu bash -c 'type -a type' > /dev/null 2>&1
177177
TypeError=$?
178178
if [[ "$TypeError" == "1" ]]
179179
then

0 commit comments

Comments
 (0)